Skip to contentSkip to conversation

misc: dell-laptop should depend on POWER_SUPPLY

PATCH New Matthew Garrett 1 participant 1 message Jan 17, 2009 1 message not in the archive Char and misc drivers

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 misc: dell-laptop should depend on POWER_SUPPLY

In reply to a message not in the archive

dell-laptop makes use of the power supply class information to choose which backlight interface to change. Add a depends on it.

---

drivers/misc/Kconfig +1 -0
index 419c378..03de0a2 100644
@@ -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
Signature · 1 line
Matthew Garrett | [email protected]