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'

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Roald Frederickx <[email protected]>
Cc: Matthew Garrett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 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 platform-driver-x86" 
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to