[PATCH] Make ACPI_CMPC depend on RFKILL
From: Andi Kleen
Date: Sun Aug 08 2010 - 12:07:48 EST
Make ACPI_CMPC depend on RFKILL
This fixes
drivers/built-in.o: In function `cmpc_ipml_remove':
classmate-laptop.c:(.text+0xa92be): undefined reference to `rfkill_unregister'
classmate-laptop.c:(.text+0xa92c6): undefined reference to `rfkill_destroy'
drivers/built-in.o: In function `cmpc_rfkill_query':
classmate-laptop.c:(.text+0xa9325): undefined reference to `rfkill_set_sw_state'
drivers/built-in.o: In function `cmpc_ipml_add':
classmate-laptop.c:(.text+0xa9499): undefined reference to `rfkill_alloc'
classmate-laptop.c:(.text+0xa94aa): undefined reference to `rfkill_register'
classmate-laptop.c:(.text+0xa94b6): undefined reference to `rfkill_destroy'
make: *** [.tmp_vmlinux1] Error 1
root@son2:~/linux-2.6.35#
Cc: stable@xxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.35-ak/drivers/platform/x86/Kconfig
===================================================================
--- linux-2.6.35-ak.orig/drivers/platform/x86/Kconfig
+++ linux-2.6.35-ak/drivers/platform/x86/Kconfig
@@ -522,6 +522,7 @@ config ACPI_CMPC
depends on X86 && ACPI
select INPUT
select BACKLIGHT_CLASS_DEVICE
+ depends on RFKILL || RFKILL = n
default n
help
Support for Intel Classmate PC ACPI devices, including some
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/