Skip to contentSkip to conversation

compal-laptop: uses hwmon interfaces, depends on HWMON

PATCH New [email protected] 1 participant 1 message Jul 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 8/26 compal-laptop: uses hwmon interfaces, depends on HWMON

From: Randy Dunlap <[email protected]>

compal-laptop uses hwmon interfaces, so it should depend on HWMON.

compal-laptop.c:(.devinit.text+0x4071f): undefined reference to hwmon_device_register' compal-laptop.c:(.devexit.text+0x6ec0): undefined reference to hwmon_device_unregister'

Cc Roald Frederickx <[email protected]>
Cc Matthew Garrett <[email protected]>

---

 drivers/platform/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig renamed from drivers/platform/x86/Kconfig~compal-laptop-uses-hwmon-interfaces-depends-on-hwmon +1 -0
diff -puN drivers/platform/x86/Kconfig~compal-laptop-uses-hwmon-interfaces-depends-on-hwmon drivers/platform/x86/Kconfig
@@ -182,6 +182,7 @@ config COMPAL_LAPTOP
 	depends on ACPI
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on RFKILL
+	depends on HWMON
 	---help---
 	  This is a driver for laptops built by Compal:
 

_