]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
classmate-laptop: depends on RFKILL or RFKILL=n
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Wed, 26 May 2010 15:00:10 +0000 (12:00 -0300)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:44 +0000 (09:48 -0400)
Randy Dunlap has reported that building classmate-laptop fails when
CONFIG_RFKILL=m and CONFIG_ACPI_CMPC=y. He suggested depending on
RFKILL, but, then, it will not be possible to select classmate-laptop
when RFKILL is off. There's no known problem with building and using
classmate-laptop with RFKILL off. So depend on RFKILL or RFKILL=n.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: platform-driver-x86@vger.kernel.org
Cc: Daniel Oliveira Nascimento <don@syst.com.br>
drivers/platform/x86/Kconfig

index 3e1b8a288719d2047e911025e9fc6c1c8714d578..fe7d67058eb8bd2b0ed355ef08411b7effadbcf4 100644 (file)
@@ -520,6 +520,7 @@ config TOSHIBA_BT_RFKILL
 config ACPI_CMPC
        tristate "CMPC Laptop Extras"
        depends on X86 && ACPI
+       depends on RFKILL || RFKILL=n
        select INPUT
        select BACKLIGHT_CLASS_DEVICE
        default n