linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sony-laptop should depend on RFKILL
@ 2009-03-31 22:34 Alexander Beregalov
  2009-03-31 22:35 ` Matthew Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Beregalov @ 2009-03-31 22:34 UTC (permalink / raw)
  To: Matthew Garrett, Mattia Dongili, Len Brown, linux-next,
	linux-kernel

Fixes this build error when RFKILL is not set:

drivers/platform/x86/sony-laptop.c:1050: undefined reference to `rfkill_unregister'
and so on..

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 drivers/platform/x86/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 3608081..36b1628 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -165,6 +165,7 @@ config SONY_LAPTOP
 	depends on ACPI
 	select BACKLIGHT_CLASS_DEVICE
 	depends on INPUT
+	depends on RFKILL
 	  ---help---
 	  This mini-driver drives the SNC and SPIC devices present in the ACPI
 	  BIOS of the Sony Vaio laptops.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-01 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 22:34 [PATCH] sony-laptop should depend on RFKILL Alexander Beregalov
2009-03-31 22:35 ` Matthew Garrett
2009-04-01 12:59   ` Mattia Dongili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).