From: Randy Dunlap <randy.dunlap@oracle.com>
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, Eric Piel <eric.piel@tremplin-utc.net>
Subject: [PATCH -mmotm] lis3: uses input polldev functions
Date: Fri, 29 May 2009 09:09:03 -0700 [thread overview]
Message-ID: <4A20089F.9050409@oracle.com> (raw)
In-Reply-To: <200905290052.n4T0q4Eo005253@imap1.linux-foundation.org>
From: Randy Dunlap <randy.dunlap@oracle.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@oracle.com>
Cc: Eric Piel <eric.piel@tremplin-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/
prev parent reply other threads:[~2009-05-29 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 0:52 mmotm 2009-05-28-17-48 uploaded akpm
2009-05-29 16:09 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A20089F.9050409@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=eric.piel@tremplin-utc.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.