compal-laptop: uses hwmon interfaces, depends on HWMON
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 20 Jul 2010 22:19:39 +0000 (15:19 -0700)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:57 +0000 (09:48 -0400)
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@oracle.com>
Cc: Roald Frederickx <roald.frederickx@gmail.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig

index 2f173bc0ff054e5e55298b5d399b5002135ed589..2189565d9e0e6176dd5cdd9ff37ec6337471a749 100644 (file)
@@ -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: