aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/defconfig1
-rw-r--r--arch/i386/kernel/acpi/boot.c6
-rw-r--r--arch/i386/kernel/mpparse.c4
-rw-r--r--arch/ia64/configs/bigsur_defconfig1
-rw-r--r--arch/ia64/configs/sn2_defconfig1
-rw-r--r--arch/ia64/configs/tiger_defconfig1
-rw-r--r--arch/ia64/configs/zx1_defconfig1
-rw-r--r--arch/ia64/defconfig1
-rw-r--r--arch/x86_64/defconfig1
-rw-r--r--arch/x86_64/kernel/genapic.c4
-rw-r--r--arch/x86_64/kernel/mpparse.c4
-rw-r--r--drivers/acpi/Kconfig4
-rw-r--r--drivers/acpi/Makefile6
-rw-r--r--drivers/char/tpm/Kconfig2
-rw-r--r--drivers/pci/hotplug/Kconfig4
-rw-r--r--drivers/pci/hotplug/Makefile4
-rw-r--r--drivers/pnp/Kconfig2
-rw-r--r--drivers/pnp/pnpacpi/Kconfig2
-rw-r--r--drivers/serial/Kconfig2
-rw-r--r--include/acpi/acpi_bus.h4
20 files changed, 15 insertions, 40 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig
index f137a32634ac..1a387856c870 100644
--- a/arch/i386/defconfig
+++ b/arch/i386/defconfig
@@ -142,7 +142,6 @@ CONFIG_ACPI_THERMAL=y
142# CONFIG_ACPI_ASUS is not set 142# CONFIG_ACPI_ASUS is not set
143# CONFIG_ACPI_TOSHIBA is not set 143# CONFIG_ACPI_TOSHIBA is not set
144# CONFIG_ACPI_DEBUG is not set 144# CONFIG_ACPI_DEBUG is not set
145CONFIG_ACPI_BUS=y
146CONFIG_ACPI_EC=y 145CONFIG_ACPI_EC=y
147CONFIG_ACPI_POWER=y 146CONFIG_ACPI_POWER=y
148CONFIG_ACPI_PCI=y 147CONFIG_ACPI_PCI=y
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 84befaecedf8..552fc85691ac 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -408,8 +408,6 @@ acpi_parse_nmi_src(acpi_table_entry_header * header, const unsigned long end)
408 408
409#endif /* CONFIG_X86_IO_APIC */ 409#endif /* CONFIG_X86_IO_APIC */
410 410
411#ifdef CONFIG_ACPI_BUS
412
413/* 411/*
414 * acpi_pic_sci_set_trigger() 412 * acpi_pic_sci_set_trigger()
415 * 413 *
@@ -460,8 +458,6 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)
460 outb(new >> 8, 0x4d1); 458 outb(new >> 8, 0x4d1);
461} 459}
462 460
463#endif /* CONFIG_ACPI_BUS */
464
465int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) 461int acpi_gsi_to_irq(u32 gsi, unsigned int *irq)
466{ 462{
467#ifdef CONFIG_X86_IO_APIC 463#ifdef CONFIG_X86_IO_APIC
@@ -637,12 +633,10 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
637 /* initialize sci_int early for INT_SRC_OVR MADT parsing */ 633 /* initialize sci_int early for INT_SRC_OVR MADT parsing */
638 acpi_fadt.sci_int = fadt->sci_int; 634 acpi_fadt.sci_int = fadt->sci_int;
639 635
640#ifdef CONFIG_ACPI_BUS
641 /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ 636 /* initialize rev and apic_phys_dest_mode for x86_64 genapic */
642 acpi_fadt.revision = fadt->revision; 637 acpi_fadt.revision = fadt->revision;
643 acpi_fadt.force_apic_physical_destination_mode = 638 acpi_fadt.force_apic_physical_destination_mode =
644 fadt->force_apic_physical_destination_mode; 639 fadt->force_apic_physical_destination_mode;
645#endif
646 640
647#ifdef CONFIG_X86_PM_TIMER 641#ifdef CONFIG_X86_PM_TIMER
648 /* detect the location of the ACPI PM Timer */ 642 /* detect the location of the ACPI PM Timer */
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c
index db90d141481d..97dbf289dbd5 100644
--- a/arch/i386/kernel/mpparse.c
+++ b/arch/i386/kernel/mpparse.c
@@ -1069,11 +1069,9 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
1069 */ 1069 */
1070 static int gsi_to_irq[MAX_GSI_NUM]; 1070 static int gsi_to_irq[MAX_GSI_NUM];
1071 1071
1072#ifdef CONFIG_ACPI_BUS
1073 /* Don't set up the ACPI SCI because it's already set up */ 1072 /* Don't set up the ACPI SCI because it's already set up */
1074 if (acpi_fadt.sci_int == gsi) 1073 if (acpi_fadt.sci_int == gsi)
1075 return gsi; 1074 return gsi;
1076#endif
1077 1075
1078 ioapic = mp_find_ioapic(gsi); 1076 ioapic = mp_find_ioapic(gsi);
1079 if (ioapic < 0) { 1077 if (ioapic < 0) {
@@ -1116,13 +1114,11 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
1116 if (gsi < MAX_GSI_NUM) { 1114 if (gsi < MAX_GSI_NUM) {
1117 if (gsi > 15) 1115 if (gsi > 15)
1118 gsi = pci_irq++; 1116 gsi = pci_irq++;
1119#ifdef CONFIG_ACPI_BUS
1120 /* 1117 /*
1121 * Don't assign IRQ used by ACPI SCI 1118 * Don't assign IRQ used by ACPI SCI
1122 */ 1119 */
1123 if (gsi == acpi_fadt.sci_int) 1120 if (gsi == acpi_fadt.sci_int)
1124 gsi = pci_irq++; 1121 gsi = pci_irq++;
1125#endif
1126 gsi_to_irq[irq] = gsi; 1122 gsi_to_irq[irq] = gsi;
1127 } else { 1123 } else {
1128 printk(KERN_ERR "GSI %u is too high\n", gsi); 1124 printk(KERN_ERR "GSI %u is too high\n", gsi);
diff --git a/arch/ia64/configs/bigsur_defconfig b/arch/ia64/configs/bigsur_defconfig
index 2c3ba6a6ec7f..996144e840d3 100644
--- a/arch/ia64/configs/bigsur_defconfig
+++ b/arch/ia64/configs/bigsur_defconfig
@@ -114,7 +114,6 @@ CONFIG_ACPI_PROCESSOR=m
114CONFIG_ACPI_THERMAL=m 114CONFIG_ACPI_THERMAL=m
115CONFIG_ACPI_BLACKLIST_YEAR=0 115CONFIG_ACPI_BLACKLIST_YEAR=0
116# CONFIG_ACPI_DEBUG is not set 116# CONFIG_ACPI_DEBUG is not set
117CONFIG_ACPI_BUS=y
118CONFIG_ACPI_POWER=y 117CONFIG_ACPI_POWER=y
119CONFIG_ACPI_PCI=y 118CONFIG_ACPI_PCI=y
120CONFIG_ACPI_SYSTEM=y 119CONFIG_ACPI_SYSTEM=y
diff --git a/arch/ia64/configs/sn2_defconfig b/arch/ia64/configs/sn2_defconfig
index 6a0c114e086a..4644ebea8eab 100644
--- a/arch/ia64/configs/sn2_defconfig
+++ b/arch/ia64/configs/sn2_defconfig
@@ -138,7 +138,6 @@ CONFIG_ACPI_HOTKEY=m
138CONFIG_ACPI_NUMA=y 138CONFIG_ACPI_NUMA=y
139CONFIG_ACPI_BLACKLIST_YEAR=0 139CONFIG_ACPI_BLACKLIST_YEAR=0
140# CONFIG_ACPI_DEBUG is not set 140# CONFIG_ACPI_DEBUG is not set
141CONFIG_ACPI_BUS=y
142CONFIG_ACPI_POWER=y 141CONFIG_ACPI_POWER=y
143CONFIG_ACPI_PCI=y 142CONFIG_ACPI_PCI=y
144CONFIG_ACPI_SYSTEM=y 143CONFIG_ACPI_SYSTEM=y
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig
index dec24a6de6a4..f5fa113f302d 100644
--- a/arch/ia64/configs/tiger_defconfig
+++ b/arch/ia64/configs/tiger_defconfig
@@ -137,7 +137,6 @@ CONFIG_ACPI_PROCESSOR=m
137CONFIG_ACPI_THERMAL=m 137CONFIG_ACPI_THERMAL=m
138CONFIG_ACPI_BLACKLIST_YEAR=0 138CONFIG_ACPI_BLACKLIST_YEAR=0
139# CONFIG_ACPI_DEBUG is not set 139# CONFIG_ACPI_DEBUG is not set
140CONFIG_ACPI_BUS=y
141CONFIG_ACPI_POWER=y 140CONFIG_ACPI_POWER=y
142CONFIG_ACPI_PCI=y 141CONFIG_ACPI_PCI=y
143CONFIG_ACPI_SYSTEM=y 142CONFIG_ACPI_SYSTEM=y
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig
index d318087bfcbd..1e6d286ad0f3 100644
--- a/arch/ia64/configs/zx1_defconfig
+++ b/arch/ia64/configs/zx1_defconfig
@@ -136,7 +136,6 @@ CONFIG_ACPI_PROCESSOR=y
136CONFIG_ACPI_THERMAL=y 136CONFIG_ACPI_THERMAL=y
137CONFIG_ACPI_BLACKLIST_YEAR=0 137CONFIG_ACPI_BLACKLIST_YEAR=0
138# CONFIG_ACPI_DEBUG is not set 138# CONFIG_ACPI_DEBUG is not set
139CONFIG_ACPI_BUS=y
140CONFIG_ACPI_POWER=y 139CONFIG_ACPI_POWER=y
141CONFIG_ACPI_PCI=y 140CONFIG_ACPI_PCI=y
142CONFIG_ACPI_SYSTEM=y 141CONFIG_ACPI_SYSTEM=y
diff --git a/arch/ia64/defconfig b/arch/ia64/defconfig
index e6d34df7d2ff..163ef12641b7 100644
--- a/arch/ia64/defconfig
+++ b/arch/ia64/defconfig
@@ -127,7 +127,6 @@ CONFIG_ACPI_THERMAL=m
127CONFIG_ACPI_NUMA=y 127CONFIG_ACPI_NUMA=y
128CONFIG_ACPI_BLACKLIST_YEAR=0 128CONFIG_ACPI_BLACKLIST_YEAR=0
129# CONFIG_ACPI_DEBUG is not set 129# CONFIG_ACPI_DEBUG is not set
130CONFIG_ACPI_BUS=y
131CONFIG_ACPI_POWER=y 130CONFIG_ACPI_POWER=y
132CONFIG_ACPI_PCI=y 131CONFIG_ACPI_PCI=y
133CONFIG_ACPI_SYSTEM=y 132CONFIG_ACPI_SYSTEM=y
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig
index 8ccb4a12eed5..62abdc0adab8 100644
--- a/arch/x86_64/defconfig
+++ b/arch/x86_64/defconfig
@@ -149,7 +149,6 @@ CONFIG_ACPI_NUMA=y
149CONFIG_ACPI_TOSHIBA=y 149CONFIG_ACPI_TOSHIBA=y
150CONFIG_ACPI_BLACKLIST_YEAR=2001 150CONFIG_ACPI_BLACKLIST_YEAR=2001
151# CONFIG_ACPI_DEBUG is not set 151# CONFIG_ACPI_DEBUG is not set
152CONFIG_ACPI_BUS=y
153CONFIG_ACPI_EC=y 152CONFIG_ACPI_EC=y
154CONFIG_ACPI_POWER=y 153CONFIG_ACPI_POWER=y
155CONFIG_ACPI_PCI=y 154CONFIG_ACPI_PCI=y
diff --git a/arch/x86_64/kernel/genapic.c b/arch/x86_64/kernel/genapic.c
index 30c843a5efdd..f031358906f5 100644
--- a/arch/x86_64/kernel/genapic.c
+++ b/arch/x86_64/kernel/genapic.c
@@ -20,7 +20,7 @@
20#include <asm/smp.h> 20#include <asm/smp.h>
21#include <asm/ipi.h> 21#include <asm/ipi.h>
22 22
23#if defined(CONFIG_ACPI_BUS) 23#if defined(CONFIG_ACPI)
24#include <acpi/acpi_bus.h> 24#include <acpi/acpi_bus.h>
25#endif 25#endif
26 26
@@ -47,7 +47,7 @@ void __init clustered_apic_check(void)
47 u8 cluster_cnt[NUM_APIC_CLUSTERS]; 47 u8 cluster_cnt[NUM_APIC_CLUSTERS];
48 int num_cpus = 0; 48 int num_cpus = 0;
49 49
50#if defined(CONFIG_ACPI_BUS) 50#if defined(CONFIG_ACPI)
51 /* 51 /*
52 * Some x86_64 machines use physical APIC mode regardless of how many 52 * Some x86_64 machines use physical APIC mode regardless of how many
53 * procs/clusters are present (x86_64 ES7000 is an example). 53 * procs/clusters are present (x86_64 ES7000 is an example).
diff --git a/arch/x86_64/kernel/mpparse.c b/arch/x86_64/kernel/mpparse.c
index 86445f320d86..8d8ed6ae1d0c 100644
--- a/arch/x86_64/kernel/mpparse.c
+++ b/arch/x86_64/kernel/mpparse.c
@@ -927,11 +927,9 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low)
927 if (acpi_irq_model != ACPI_IRQ_MODEL_IOAPIC) 927 if (acpi_irq_model != ACPI_IRQ_MODEL_IOAPIC)
928 return gsi; 928 return gsi;
929 929
930#ifdef CONFIG_ACPI_BUS
931 /* Don't set up the ACPI SCI because it's already set up */ 930 /* Don't set up the ACPI SCI because it's already set up */
932 if (acpi_fadt.sci_int == gsi) 931 if (acpi_fadt.sci_int == gsi)
933 return gsi; 932 return gsi;
934#endif
935 933
936 ioapic = mp_find_ioapic(gsi); 934 ioapic = mp_find_ioapic(gsi);
937 if (ioapic < 0) { 935 if (ioapic < 0) {
@@ -971,13 +969,11 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low)
971 if (gsi < MAX_GSI_NUM) { 969 if (gsi < MAX_GSI_NUM) {
972 if (gsi > 15) 970 if (gsi > 15)
973 gsi = pci_irq++; 971 gsi = pci_irq++;
974#ifdef CONFIG_ACPI_BUS
975 /* 972 /*
976 * Don't assign IRQ used by ACPI SCI 973 * Don't assign IRQ used by ACPI SCI
977 */ 974 */
978 if (gsi == acpi_fadt.sci_int) 975 if (gsi == acpi_fadt.sci_int)
979 gsi = pci_irq++; 976 gsi = pci_irq++;
980#endif
981 gsi_to_irq[irq] = gsi; 977 gsi_to_irq[irq] = gsi;
982 } else { 978 } else {
983 printk(KERN_ERR "GSI %u is too high\n", gsi); 979 printk(KERN_ERR "GSI %u is too high\n", gsi);
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index f023a88ca398..8cafa4adcf49 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -267,10 +267,6 @@ config ACPI_DEBUG
267 of verbosity. Saying Y enables these statements. This will increase 267 of verbosity. Saying Y enables these statements. This will increase
268 your kernel size by around 50K. 268 your kernel size by around 50K.
269 269
270config ACPI_BUS
271 bool
272 default y
273
274config ACPI_EC 270config ACPI_EC
275 bool 271 bool
276 depends on X86 272 depends on X86
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 060afaf962a3..b6a3c9192385 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -35,8 +35,8 @@ ifdef CONFIG_CPU_FREQ
35processor-objs += processor_perflib.o 35processor-objs += processor_perflib.o
36endif 36endif
37 37
38obj-$(CONFIG_ACPI_BUS) += sleep/ 38obj-y += sleep/
39obj-$(CONFIG_ACPI_BUS) += bus.o glue.o 39obj-y += bus.o glue.o
40obj-$(CONFIG_ACPI_AC) += ac.o 40obj-$(CONFIG_ACPI_AC) += ac.o
41obj-$(CONFIG_ACPI_BATTERY) += battery.o 41obj-$(CONFIG_ACPI_BATTERY) += battery.o
42obj-$(CONFIG_ACPI_BUTTON) += button.o 42obj-$(CONFIG_ACPI_BUTTON) += button.o
@@ -55,5 +55,5 @@ obj-$(CONFIG_ACPI_NUMA) += numa.o
55obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o 55obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o
56obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o 56obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o
57obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o 57obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o
58obj-$(CONFIG_ACPI_BUS) += scan.o motherboard.o 58obj-y += scan.o motherboard.o
59obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o 59obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o
diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig
index 79e9832ef1f3..b58adfe3ed19 100644
--- a/drivers/char/tpm/Kconfig
+++ b/drivers/char/tpm/Kconfig
@@ -17,7 +17,7 @@ config TCG_TPM
17 obtained at: <http://sourceforge.net/projects/trousers>. To 17 obtained at: <http://sourceforge.net/projects/trousers>. To
18 compile this driver as a module, choose M here; the module 18 compile this driver as a module, choose M here; the module
19 will be called tpm. If unsure, say N. 19 will be called tpm. If unsure, say N.
20 Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI_BUS 20 Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
21 and CONFIG_PNPACPI. 21 and CONFIG_PNPACPI.
22 22
23config TCG_NSC 23config TCG_NSC
diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index 9c4a39ee89b5..2f1289eebb3c 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -78,7 +78,7 @@ config HOTPLUG_PCI_IBM
78 78
79config HOTPLUG_PCI_ACPI 79config HOTPLUG_PCI_ACPI
80 tristate "ACPI PCI Hotplug driver" 80 tristate "ACPI PCI Hotplug driver"
81 depends on ACPI_BUS && HOTPLUG_PCI 81 depends on ACPI && HOTPLUG_PCI
82 help 82 help
83 Say Y here if you have a system that supports PCI Hotplug using 83 Say Y here if you have a system that supports PCI Hotplug using
84 ACPI. 84 ACPI.
@@ -157,7 +157,7 @@ config HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
157 157
158config HOTPLUG_PCI_SHPC_PHPRM_LEGACY 158config HOTPLUG_PCI_SHPC_PHPRM_LEGACY
159 bool "For AMD SHPC only: Use $HRT for resource/configuration" 159 bool "For AMD SHPC only: Use $HRT for resource/configuration"
160 depends on HOTPLUG_PCI_SHPC && !ACPI_BUS 160 depends on HOTPLUG_PCI_SHPC && !ACPI
161 help 161 help
162 Say Y here for AMD SHPC. You have to select this option if you are 162 Say Y here for AMD SHPC. You have to select this option if you are
163 using this driver on platform with AMD SHPC. 163 using this driver on platform with AMD SHPC.
diff --git a/drivers/pci/hotplug/Makefile b/drivers/pci/hotplug/Makefile
index 31a307004b94..246586a3d91a 100644
--- a/drivers/pci/hotplug/Makefile
+++ b/drivers/pci/hotplug/Makefile
@@ -51,7 +51,7 @@ pciehp-objs := pciehp_core.o \
51 pciehp_ctrl.o \ 51 pciehp_ctrl.o \
52 pciehp_pci.o \ 52 pciehp_pci.o \
53 pciehp_hpc.o 53 pciehp_hpc.o
54ifdef CONFIG_ACPI_BUS 54ifdef CONFIG_ACPI
55 pciehp-objs += pciehprm_acpi.o 55 pciehp-objs += pciehprm_acpi.o
56else 56else
57 pciehp-objs += pciehprm_nonacpi.o 57 pciehp-objs += pciehprm_nonacpi.o
@@ -62,7 +62,7 @@ shpchp-objs := shpchp_core.o \
62 shpchp_pci.o \ 62 shpchp_pci.o \
63 shpchp_sysfs.o \ 63 shpchp_sysfs.o \
64 shpchp_hpc.o 64 shpchp_hpc.o
65ifdef CONFIG_ACPI_BUS 65ifdef CONFIG_ACPI
66 shpchp-objs += shpchprm_acpi.o 66 shpchp-objs += shpchprm_acpi.o
67else 67else
68 ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY 68 ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
diff --git a/drivers/pnp/Kconfig b/drivers/pnp/Kconfig
index 6776308a1fe5..c5143201419a 100644
--- a/drivers/pnp/Kconfig
+++ b/drivers/pnp/Kconfig
@@ -6,7 +6,7 @@ menu "Plug and Play support"
6 6
7config PNP 7config PNP
8 bool "Plug and Play support" 8 bool "Plug and Play support"
9 depends on ISA || ACPI_BUS 9 depends on ISA || ACPI
10 ---help--- 10 ---help---
11 Plug and Play (PnP) is a standard for peripherals which allows those 11 Plug and Play (PnP) is a standard for peripherals which allows those
12 peripherals to be configured by software, e.g. assign IRQ's or other 12 peripherals to be configured by software, e.g. assign IRQ's or other
diff --git a/drivers/pnp/pnpacpi/Kconfig b/drivers/pnp/pnpacpi/Kconfig
index 0782cdc5009f..b1854171b963 100644
--- a/drivers/pnp/pnpacpi/Kconfig
+++ b/drivers/pnp/pnpacpi/Kconfig
@@ -3,7 +3,7 @@
3# 3#
4config PNPACPI 4config PNPACPI
5 bool "Plug and Play ACPI support (EXPERIMENTAL)" 5 bool "Plug and Play ACPI support (EXPERIMENTAL)"
6 depends on PNP && ACPI_BUS && EXPERIMENTAL 6 depends on PNP && ACPI && EXPERIMENTAL
7 default y 7 default y
8 ---help--- 8 ---help---
9 Linux uses the PNPACPI to autodetect built-in 9 Linux uses the PNPACPI to autodetect built-in
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 97034d3937fd..56de409f486d 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -80,7 +80,7 @@ config SERIAL_8250_CS
80config SERIAL_8250_ACPI 80config SERIAL_8250_ACPI
81 bool "8250/16550 device discovery via ACPI namespace" 81 bool "8250/16550 device discovery via ACPI namespace"
82 default y if IA64 82 default y if IA64
83 depends on ACPI_BUS && SERIAL_8250 83 depends on ACPI && SERIAL_8250
84 ---help--- 84 ---help---
85 If you wish to enable serial port discovery via the ACPI 85 If you wish to enable serial port discovery via the ACPI
86 namespace, say Y here. If unsure, say N. 86 namespace, say Y here. If unsure, say N.
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 4f4b2baa7176..0b54e9a4a8a1 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -53,7 +53,7 @@ acpi_evaluate_reference(acpi_handle handle,
53 struct acpi_object_list *arguments, 53 struct acpi_object_list *arguments,
54 struct acpi_handle_list *list); 54 struct acpi_handle_list *list);
55 55
56#ifdef CONFIG_ACPI_BUS 56#ifdef CONFIG_ACPI
57 57
58#include <linux/proc_fs.h> 58#include <linux/proc_fs.h>
59 59
@@ -356,6 +356,6 @@ acpi_handle acpi_get_child(acpi_handle, acpi_integer);
356acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); 356acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int);
357#define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->firmware_data)) 357#define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->firmware_data))
358 358
359#endif /*CONFIG_ACPI_BUS */ 359#endif /* CONFIG_ACPI */
360 360
361#endif /*__ACPI_BUS_H__*/ 361#endif /*__ACPI_BUS_H__*/