[PATCH -next] platform/x86: fix amilo-rfkill build errors

From: Randy Dunlap
Date: Wed May 15 2013 - 17:04:41 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix build error in amilo-rfkill.c by making it dependent on
SERIO_I8042:

drivers/built-in.o: In function `amilo_a1655_rfkill_set_block':
amilo-rfkill.c:(.text+0x264a89): undefined reference to `i8042_lock_chip'
amilo-rfkill.c:(.text+0x264a97): undefined reference to `i8042_command'
amilo-rfkill.c:(.text+0x264a9e): undefined reference to `i8042_unlock_chip'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
---
drivers/platform/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20130515.orig/drivers/platform/x86/Kconfig
+++ linux-next-20130515/drivers/platform/x86/Kconfig
@@ -175,7 +175,7 @@ config FUJITSU_TABLET

config AMILO_RFKILL
tristate "Fujitsu-Siemens Amilo rfkill support"
- depends on RFKILL
+ depends on RFKILL && SERIO_I8042
---help---
This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
laptops.
--
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/