[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A20089F.9050409@oracle.com>
Date: Fri, 29 May 2009 09:09:03 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: akpm@...ux-foundation.org
CC: linux-kernel@...r.kernel.org,
Eric Piel <eric.piel@...mplin-utc.net>
Subject: [PATCH -mmotm] lis3: uses input polldev functions
From: Randy Dunlap <randy.dunlap@...cle.com>
This driver uses input-polldev (library) functions, so it needs
to select that kconfig symbol so that it builds without errors.
drivers/built-in.o: In function `lis3lv02d_joystick_disable':
(.text+0x19d9d0): undefined reference to `input_unregister_polled_device'
drivers/built-in.o: In function `lis3lv02d_joystick_enable':
(.text+0x19d9fc): undefined reference to `input_allocate_polled_device'
drivers/built-in.o: In function `lis3lv02d_joystick_enable':
(.text+0x19daaf): undefined reference to `input_register_polled_device'
drivers/built-in.o: In function `lis3lv02d_joystick_enable':
(.text+0x19dabf): undefined reference to `input_free_polled_device'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Eric Piel <eric.piel@...mplin-utc.net>
---
drivers/hwmon/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- mmotm-2009-0528-1748.orig/drivers/hwmon/Kconfig
+++ mmotm-2009-0528-1748/drivers/hwmon/Kconfig
@@ -950,6 +950,7 @@ config SENSORS_HDAPS
config SENSORS_LIS3LV02D
tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer"
depends on ACPI && INPUT
+ select INPUT_POLLDEV
select NEW_LEDS
select LEDS_CLASS
default n
--
~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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists