Kobject: fix coding style issues in kobject c files
[deliverable/linux.git] / drivers / base / init.c
CommitLineData
1da177e4
LT
1/*
2 *
3 * Copyright (c) 2002-3 Patrick Mochel
4 * Copyright (c) 2002-3 Open Source Development Labs
5 *
6 * This file is released under the GPLv2
7 *
8 */
9
10#include <linux/device.h>
11#include <linux/init.h>
3947be19 12#include <linux/memory.h>
1da177e4 13
a1bdc7aa
BD
14#include "base.h"
15
1da177e4
LT
16/**
17 * driver_init - initialize driver model.
18 *
19 * Call the driver model init functions to initialize their
20 * subsystems. Called early from init/main.c.
21 */
22
23void __init driver_init(void)
24{
25 /* These are the core pieces */
26 devices_init();
27 buses_init();
28 classes_init();
29 firmware_init();
4039483f 30 hypervisor_init();
1da177e4
LT
31
32 /* These are also core pieces, but must come after the
33 * core core pieces.
34 */
35 platform_bus_init();
36 system_bus_init();
37 cpu_dev_init();
3947be19 38 memory_dev_init();
1da177e4 39}
This page took 0.274347 seconds and 5 git commands to generate.