public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] misc: dell-laptop should depend on POWER_SUPPLY
       [not found] <20090113202012.GA9522@elte.hu>
@ 2009-01-17  2:38 ` Matthew Garrett
  0 siblings, 0 replies; only message in thread
From: Matthew Garrett @ 2009-01-17  2:38 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Len Brown, Rafael J. Wysocki, linux-kernel

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 <mjg@redhat.com>

---

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 419c378..03de0a2 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -225,6 +225,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

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-17  2:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090113202012.GA9522@elte.hu>
2009-01-17  2:38 ` [PATCH] misc: dell-laptop should depend on POWER_SUPPLY Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox