mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] amilo-rfkill: add Kconfig depends on i8042
@ 2013-08-21  0:53 Xiong Zhou
  0 siblings, 0 replies; only message in thread
From: Xiong Zhou @ 2013-08-21  0:53 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: linux-kernel, Matthew Garrett, Ben Hutchings, Stephen Rothwell,
	platform-driver-x86, jim.epost, jencce.kernel

From: Xiong Zhou <jencce.kernel@gmail.com>

Fix randconfig build failure for Amilo x86 platform driver.
AMILO_RFKILL requires SERIO_I8042 being available.

amilo-rfkill.c:(.text+0x108b5b): undefined reference to `i8042_lock_chip'
amilo-rfkill.c:(.text+0x108b69): undefined reference to `i8042_command'
amilo-rfkill.c:(.text+0x108b71): undefined reference to `i8042_unlock_chip'

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Xiong Zhou <jencce.kernel@gmail.com>
Acked-by: Ben Hutchings <ben@decadent.org.uk>
---
 drivers/platform/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 8577261..37645b9 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -176,6 +176,7 @@ config FUJITSU_TABLET
 config AMILO_RFKILL
 	tristate "Fujitsu-Siemens Amilo rfkill support"
 	depends on RFKILL
+	depends on SERIO_I8042
 	---help---
 	  This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
 	  laptops.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-21  0:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-21  0:53 [PATCH] amilo-rfkill: add Kconfig depends on i8042 Xiong Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®