Эх сурвалжийг харах

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>
Jonathan Woithe 16 жил өмнө
parent
commit
c1b5310a95

+ 1 - 0
drivers/platform/x86/Kconfig

@@ -99,6 +99,7 @@ config FUJITSU_LAPTOP
 	depends on ACPI
 	depends on ACPI
 	depends on INPUT
 	depends on INPUT
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on BACKLIGHT_CLASS_DEVICE
+	depends on LEDS_CLASS || LEDS_CLASS=n
 	---help---
 	---help---
 	  This is a driver for laptops built by Fujitsu:
 	  This is a driver for laptops built by Fujitsu: