]> git.karo-electronics.de Git - linux-beck.git/commitdiff
fujitsu-laptop: fix config corner case
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Thu, 27 Aug 2009 22:45:33 +0000 (18:45 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 19:17:08 +0000 (15:17 -0400)
This patch is a trivial fix for a config corner case, ensuring that
fujitsu-laptop doesn't get compiled into the kernel when the led class
is a module.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/Kconfig

index 77c6097ced80e5db1ba7926e95391e81f74895c0..0b5a85b8048f11e002c1e9c0e09bf5686d2390d4 100644 (file)
@@ -99,6 +99,7 @@ config FUJITSU_LAPTOP
        depends on ACPI
        depends on INPUT
        depends on BACKLIGHT_CLASS_DEVICE
+       depends on LEDS_CLASS || LEDS_CLASS=n
        ---help---
          This is a driver for laptops built by Fujitsu: