summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-13 02:42:08 +0200
committerLen Brown <len.brown@intel.com>2009-06-13 02:50:38 +0200
commit4a7a16dc061e4c57bf288150f51bd4c2ace33723 (patch)
tree34bd1b25321269b8ad8a172e03655db2a28ecca7 /init
parentACPI, PCI, x86: move MCFG parsing routine from ACPI to PCI file (diff)
downloadlinux-4a7a16dc061e4c57bf288150f51bd4c2ace33723.tar.xz
linux-4a7a16dc061e4c57bf288150f51bd4c2ace33723.zip
ACPI: move declaration acpi_early_init() to acpi.h
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'init')
-rw-r--r--init/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c
index d721dad05dd7..f1b9f0fdb1b4 100644
--- a/init/main.c
+++ b/init/main.c
@@ -24,6 +24,7 @@
#include <linux/smp_lock.h>
#include <linux/initrd.h>
#include <linux/bootmem.h>
+#include <linux/acpi.h>
#include <linux/tty.h>
#include <linux/gfp.h>
#include <linux/percpu.h>
@@ -86,11 +87,6 @@ extern void sbus_init(void);
extern void prio_tree_init(void);
extern void radix_tree_init(void);
extern void free_initmem(void);
-#ifdef CONFIG_ACPI
-extern void acpi_early_init(void);
-#else
-static inline void acpi_early_init(void) { }
-#endif
#ifndef CONFIG_DEBUG_RODATA
static inline void mark_rodata_ro(void) { }
#endif