android_kernel_oneplus_msm8998/drivers/input
YueHaibing 4f68628e9f Input: psmouse - fix build error of multiple definition
commit 49e6979e7e92cf496105b5636f1df0ac17c159c0 upstream.

trackpoint_detect() should be static inline while
CONFIG_MOUSE_PS2_TRACKPOINT is not set, otherwise, we build fails:

drivers/input/mouse/alps.o: In function `trackpoint_detect':
alps.c:(.text+0x8e00): multiple definition of `trackpoint_detect'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x1b50): first defined here

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 55e3d9224b ("Input: psmouse - allow disabing certain protocol extensions")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-25 10:53:03 +02:00
..
gameport
joystick Input: iforce - add sanity checks 2019-08-25 10:52:58 +02:00
keyboard Input: imx_keypad - make sure keyboard can always wake up system 2019-07-21 09:07:07 +02:00
misc Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD 2019-07-10 09:56:31 +02:00
mouse Input: psmouse - fix build error of multiple definition 2019-08-25 10:53:03 +02:00
serio Input: i8042 - add Lenovo LaVie Z to the i8042 reset list 2018-08-06 16:24:29 +02:00
tablet Input: kbtab - sanity check for endpoint type 2019-08-25 10:52:57 +02:00
touchscreen Input: atmel_mxt_ts - only use first T9 instance 2018-09-19 22:48:58 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-16 10:06:48 +02:00
input-mt.c
input-polldev.c
input.c
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 11:51:57 +02:00
sparse-keymap.c