[PATCH -mmotm] lis3: fix polldev build error

From: Randy Dunlap
Date: Fri Jun 05 2009 - 12:05:30 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix lis3 (spi version) Kconfig to prevent build error:

(.text+0x874fb): undefined reference to `input_unregister_polled_device'
(.text+0x87896): undefined reference to `input_allocate_polled_device'
(.text+0x879d3): undefined reference to `input_register_polled_device'
(.text+0x879e9): undefined reference to `input_free_polled_device'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx>
---
drivers/hwmon/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- mmotm-2009-0604-1745.orig/drivers/hwmon/Kconfig
+++ mmotm-2009-0604-1745/drivers/hwmon/Kconfig
@@ -978,6 +978,7 @@ config SENSORS_LIS3LV02D
config SENSORS_LIS3_SPI
tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
depends on !ACPI && SPI_MASTER && INPUT
+ select INPUT_POLLDEV
default n
help
This driver provides support for the LIS3LV02Dx accelerometer connected


--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
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/