scx200_hrt: fix precedence bug manifesting as 27x clock in 1 MHz mode
[linux/fpc-iii.git] / drivers / base / init.c
blob37138154f9e824b353f322022ba8c41017ae3c3e
1 /*
3 * Copyright (c) 2002-3 Patrick Mochel
4 * Copyright (c) 2002-3 Open Source Development Labs
6 * This file is released under the GPLv2
8 */
10 #include <linux/device.h>
11 #include <linux/init.h>
12 #include <linux/memory.h>
14 #include "base.h"
16 /**
17 * driver_init - initialize driver model.
19 * Call the driver model init functions to initialize their
20 * subsystems. Called early from init/main.c.
23 void __init driver_init(void)
25 /* These are the core pieces */
26 devices_init();
27 buses_init();
28 classes_init();
29 firmware_init();
30 hypervisor_init();
32 /* These are also core pieces, but must come after the
33 * core core pieces.
35 platform_bus_init();
36 system_bus_init();
37 cpu_dev_init();
38 memory_dev_init();
39 attribute_container_init();