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

From: Randy Dunlap <[email-masked]>
Date: Wed, 15 May 2013 14:03:35 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
Cc: Ben Hutchings <[email-masked]>
---
 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.