[PATCH -mmotm] compal-laptop: uses hwmon interfaces, depends onHWMON

From: Randy Dunlap
Date: Sun May 23 2010 - 14:09:03 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Roald Frederickx <roald.frederickx@xxxxxxxxx>
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2010-0521-1605.orig/drivers/platform/x86/Kconfig
+++ mmotm-2010-0521-1605/drivers/platform/x86/Kconfig
@@ -181,6 +181,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:

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/