linux_dsm_epyc7002/drivers/input
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
..
gameport Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
joystick Merge branch 'next' into for-linus 2014-01-23 08:10:44 -08:00
keyboard Input: fix ps2/serio module dependency 2014-05-12 12:33:52 -07:00
misc Input: bma150 - extend chip detection for bma180 2014-04-24 23:53:10 -07:00
mouse Input: fix ps2/serio module dependency 2014-05-12 12:33:52 -07:00
serio Input: i8042 - add firmware_id support 2014-04-19 22:44:07 -07:00
tablet Input: wacom - handle 1024 pressure levels in wacom_tpc_pen 2014-04-19 13:57:35 -07:00
touchscreen Input: ads7846 - fix device usage within attribute show 2014-04-19 13:55:59 -07:00
apm-power.c
evbug.c
evdev.c Input: don't modify the id of ioctl-provided ff effect on upload failure 2014-03-29 12:13:09 -07:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c
input-polldev.c
input.c Merge branch 'next' into for-linus 2014-01-23 08:10:44 -08:00
joydev.c
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-10-31 08:46:07 -07:00
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix race when creating mixed device 2014-03-29 14:44:23 -07:00
sparse-keymap.c