aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/init.c')
-rw-r--r--drivers/base/init.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/base/init.c b/drivers/base/init.c
index a76ae5a221f3..c648914b9cde 100644
--- a/drivers/base/init.c
+++ b/drivers/base/init.c
@@ -9,15 +9,10 @@
9 9
10#include <linux/device.h> 10#include <linux/device.h>
11#include <linux/init.h> 11#include <linux/init.h>
12#include <linux/memory.h>
13
14#include "base.h"
12 15
13extern int devices_init(void);
14extern int buses_init(void);
15extern int classes_init(void);
16extern int firmware_init(void);
17extern int platform_bus_init(void);
18extern int system_bus_init(void);
19extern int cpu_dev_init(void);
20extern int attribute_container_init(void);
21/** 16/**
22 * driver_init - initialize driver model. 17 * driver_init - initialize driver model.
23 * 18 *
@@ -39,5 +34,6 @@ void __init driver_init(void)
39 platform_bus_init(); 34 platform_bus_init();
40 system_bus_init(); 35 system_bus_init();
41 cpu_dev_init(); 36 cpu_dev_init();
37 memory_dev_init();
42 attribute_container_init(); 38 attribute_container_init();
43} 39}