summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>2009-08-28 00:45:33 +0200
committerLen Brown <len.brown@intel.com>2009-08-28 21:17:08 +0200
commitc1b5310a957c47d1c66bb53035c6ba6aa20a150f (patch)
tree7ceff754461e8af47a104263bc0f5816200e9da8
parentACPI: don't free non-existent backlight in acpi video module (diff)
downloadlinux-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.tar.xz
linux-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 77c6097ced80..0b5a85b8048f 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: