summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>2009-08-27 18:45:33 -0400
committerLen Brown <len.brown@intel.com>2009-08-28 15:17:08 -0400
commitc1b5310a957c47d1c66bb53035c6ba6aa20a150f (patch)
tree7ceff754461e8af47a104263bc0f5816200e9da8
parente29b3ee3b005897fbdcfdd4b3190776e38739d70 (diff)
downloadkernel-crypto-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.tar.gz
kernel-crypto-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.tar.xz
kernel-crypto-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.zip
fujitsu-laptop: fix config corner case
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>
-rw-r--r--drivers/platform/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 77c6097ced8..0b5a85b8048 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -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: