]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/base/init.c
qlcnic: Bumped up driver version to 5.0.12
[net-next-2.6.git] / drivers / base / init.c
CommitLineData
1da177e4 1/*
1da177e4
LT
2 * Copyright (c) 2002-3 Patrick Mochel
3 * Copyright (c) 2002-3 Open Source Development Labs
4 *
5 * This file is released under the GPLv2
1da177e4
LT
6 */
7
8#include <linux/device.h>
9#include <linux/init.h>
3947be19 10#include <linux/memory.h>
1da177e4 11
a1bdc7aa
BD
12#include "base.h"
13
1da177e4 14/**
4a3ad20c 15 * driver_init - initialize driver model.
1da177e4 16 *
4a3ad20c
GKH
17 * Call the driver model init functions to initialize their
18 * subsystems. Called early from init/main.c.
1da177e4 19 */
1da177e4
LT
20void __init driver_init(void)
21{
22 /* These are the core pieces */
2b2af54a 23 devtmpfs_init();
1da177e4
LT
24 devices_init();
25 buses_init();
26 classes_init();
27 firmware_init();
4039483f 28 hypervisor_init();
1da177e4
LT
29
30 /* These are also core pieces, but must come after the
31 * core core pieces.
32 */
33 platform_bus_init();
34 system_bus_init();
35 cpu_dev_init();
3947be19 36 memory_dev_init();
1da177e4 37}