diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-19 16:01:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-20 13:56:45 -0500 |
commit | 1f21782e63da81f56401a813a52091ef2703838f (patch) | |
tree | 8a01f16d84fe3ec10182d4f8b987f1c7beecd414 /init/main.c | |
parent | 542cfce6f36e8c43f71ae9c235b78497f350ae55 (diff) |
Driver core: proper prototype for drivers/base/init.c:driver_init()
Add a prototype for driver_init() in include/linux/device.h.
Also remove a static function of the same name in drivers/acpi/ibm_acpi.c to
ibm_acpi_driver_init() to fix the namespace collision.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index e3f0bb20b4dd..2b1cdaab45e6 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/utsrelease.h> | 53 | #include <linux/utsrelease.h> |
54 | #include <linux/pid_namespace.h> | 54 | #include <linux/pid_namespace.h> |
55 | #include <linux/compile.h> | 55 | #include <linux/compile.h> |
56 | #include <linux/device.h> | ||
56 | 57 | ||
57 | #include <asm/io.h> | 58 | #include <asm/io.h> |
58 | #include <asm/bugs.h> | 59 | #include <asm/bugs.h> |
@@ -94,7 +95,6 @@ extern void pidmap_init(void); | |||
94 | extern void prio_tree_init(void); | 95 | extern void prio_tree_init(void); |
95 | extern void radix_tree_init(void); | 96 | extern void radix_tree_init(void); |
96 | extern void free_initmem(void); | 97 | extern void free_initmem(void); |
97 | extern void driver_init(void); | ||
98 | extern void prepare_namespace(void); | 98 | extern void prepare_namespace(void); |
99 | #ifdef CONFIG_ACPI | 99 | #ifdef CONFIG_ACPI |
100 | extern void acpi_early_init(void); | 100 | extern void acpi_early_init(void); |