/*1* Copyright (c) 2002-3 Patrick Mochel2* Copyright (c) 2002-3 Open Source Development Labs3*4* This file is released under the GPLv25*/67#include <linux/device.h>8#include <linux/init.h>9#include <linux/memory.h>1011#include "base.h"1213/**14* driver_init - initialize driver model.15*16* Call the driver model init functions to initialize their17* subsystems. Called early from init/main.c.18*/19void __init driver_init(void)20{21/* These are the core pieces */22devtmpfs_init();23devices_init();24buses_init();25classes_init();26firmware_init();27hypervisor_init();2829/* These are also core pieces, but must come after the30* core core pieces.31*/32platform_bus_init();33system_bus_init();34cpu_dev_init();35memory_dev_init();36}373839