linux/drivers/input/keyboard
Arnd Bergmann 0a4ac2ea27 Input: fix ps2/serio module dependency
The ps2 mouse and keyboard drivers use the "serio" framework that they
correctly select in Kconfig, and that in turn depends on the i8042 driver,
which is also allowed to be disabled for architectures that don't have an
i8042.

However, Kconfig also allows i8042 to be built as a module while
the serio framework is built-in, which causes this link error:

drivers/built-in.o: In function `ps2_begin_command':
:(.text+0x26b6cc): undefined reference to `i8042_check_port_owner'
:(.text+0x26b6d4): undefined reference to `i8042_lock_chip'
drivers/built-in.o: In function `ps2_end_command':
:(.text+0x26b734): undefined reference to `i8042_check_port_owner'
:(.text+0x26b73c): undefined reference to `i8042_unlock_chip'

On x86, a specific 'select SERIO_I8042' takes care of it, but
not on the other architecture that potentially have a i8042.

This patch changes the Kconfig logic to ensure that whenever
there is an i8042, it does get used for the serio driver, avoiding
the link error above.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-05-12 12:33:52 -07:00
..
adp5520-keys.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
adp5588-keys.c Input: adp5588-keys - get value from data out when dir is out 2014-02-15 13:13:17 -08:00
adp5589-keys.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
amikbd.c Input: amikbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:30 -07:00
atakbd.c input/atari: Fix atarimouse init 2011-05-19 18:19:11 +02:00
atkbd.c Input: atkbd - fix keyboard not working on some LG laptops 2014-04-24 23:32:33 -07:00
bf54x-keys.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
clps711x-keypad.c Input: add new driver for ARM CLPS711X keypad 2014-03-30 13:24:55 -07:00
cros_ec_keyb.c Input: cros_ec_keyb - fix problems with backslash 2013-12-31 10:45:29 -08:00
davinci_keyscan.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
ep93xx_keypad.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
goldfish_events.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
gpio_keys_polled.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
gpio_keys.c Input: gpio_keys - include linux/of.h header 2013-10-06 01:22:27 -07:00
hil_kbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
hilkbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
hpps2atkbd.h
imx_keypad.c Input: imx_keypad - Propagate the real error code on platform_get_irq() failure 2014-02-17 11:37:13 -08:00
jornada680_kbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
jornada720_kbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
Kconfig Input: fix ps2/serio module dependency 2014-05-12 12:33:52 -07:00
lkkbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
lm8323.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
lm8333.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
locomokbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
lpc32xx-keys.c Input: lpc32xx-keys - remove redundant of_match_ptr 2013-10-06 01:22:24 -07:00
Makefile Input: add new driver for ARM CLPS711X keypad 2014-03-30 13:24:55 -07:00
maple_keyb.c sh: maple: Support block reads and writes. 2009-02-27 16:07:32 +09:00
matrix_keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
max7359_keypad.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
mcs_touchkey.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
mpr121_touchkey.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
newtonkbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
nomadik-ske-keypad.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
nspire-keypad.c Input: nspire-keypad - add missing clk_disable_unprepare() on error path 2013-10-15 23:42:11 -07:00
omap4-keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
omap-keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
opencores-kbd.c Input: opencores-kbd - remove redundant platform_set_drvdata() 2013-05-08 09:04:52 -07:00
pmic8xxx-keypad.c Input: pmic8xxx-keypad - migrate to DT 2014-03-30 13:25:19 -07:00
pxa27x_keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
pxa930_rotary.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
qt1070.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
qt2160.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
samsung-keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
sh_keysc.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
spear-keyboard.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
stmpe-keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
stowaway.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
sunkbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
tc3589x-keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
tca6416-keypad.c Input: use dev_get_platdata() 2013-12-06 02:06:29 -08:00
tca8418_keypad.c Input: tca8418 - fix loading this driver as a module from a device tree 2014-04-24 23:53:14 -07:00
tegra-kbc.c Input: tegra-kbc - use reset framework 2013-12-11 16:44:41 -07:00
twl4030_keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
w90p910_keypad.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
xtkbd.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00