sony-laptop should depend on RFKILL
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 1 Apr 2009 13:10:46 +0000 (22:10 +0900)
committerLen Brown <len.brown@intel.com>
Fri, 3 Apr 2009 17:04:02 +0000 (13:04 -0400)
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>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/Kconfig

index 3608081bc3e02c7028f310ee000be6614d87d5c7..36b1628d19c61abe10b3148bbd844354ece315f7 100644 (file)
@@ -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.