From: Matthew Garrett Date: Wed, 4 Feb 2009 23:12:00 +0000 (-0800) Subject: misc: dell-laptop should depend on POWER_SUPPLY X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=77a592655cdb8d838b85fd7ecf8f36fd2870abfc;p=linux-2.6-omap-h63xx.git misc: dell-laptop should depend on POWER_SUPPLY dell-laptop makes use of the power supply class information to choose which backlight interface to change. Add a depends on it. Signed-off-by: Matthew Garrett Cc: Ingo Molnar Cc: "Rafael J. Wysocki" Cc: Len Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 56073199ceb..c64e6798878 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -217,6 +217,7 @@ config DELL_LAPTOP depends on EXPERIMENTAL depends on BACKLIGHT_CLASS_DEVICE depends on RFKILL + depends on POWER_SUPPLY default n ---help--- This driver adds support for rfkill and backlight control to Dell