summaryrefslogtreecommitdiffstats
path: root/drivers/platform
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 /drivers/platform
parente29b3ee3b005897fbdcfdd4b3190776e38739d70 (diff)
downloadop-kernel-dev-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.zip
op-kernel-dev-c1b5310a957c47d1c66bb53035c6ba6aa20a150f.tar.gz
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>
Diffstat (limited to 'drivers/platform')
-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 77c6097..0b5a85b 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:
OpenPOWER on IntegriCloud