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> Cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/platform/x86/Kconfig~compal-laptop-uses-hwmon-interfaces-depends-on-hwmon drivers/platform/x86/Kconfig --- a/drivers/platform/x86/Kconfig~compal-laptop-uses-hwmon-interfaces-depends-on-hwmon +++ a/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: _ -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html