]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: psmouse - drop all unneeded functions from mouse headers
authorHui Wang <hui.wang@canonical.com>
Tue, 20 Aug 2019 19:07:01 +0000 (12:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Aug 2019 21:15:36 +0000 (14:15 -0700)
commitcfd8579ddc02d8c5024bae7106ba37079653b3d2
tree73fd7dcd7a80e03f3e7fdf9c8b1826d91df922d6
parente95656ea15e54d4e6a192d560d84008b53fc1eb5
Input: psmouse - drop all unneeded functions from mouse headers

Recently we had a building error if we enable the MOUSE_PS2_ALPS while
disable the MOUSE_PS2_TRACKPOINT, and was fixed by 49e6979e7e92
("Input: psmouse - fix build error of multiple definition").

We could improve that fix by dropping all unneeded functions and
CONFIG_MOUSE_ guards from the header, it is safe to do that since
those functions are not directly called by psmouse-base.c anymore.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.h
drivers/input/mouse/byd.h
drivers/input/mouse/cypress_ps2.h
drivers/input/mouse/elantech.h
drivers/input/mouse/hgpk.h
drivers/input/mouse/lifebook.h
drivers/input/mouse/logips2pp.h
drivers/input/mouse/sentelic.h
drivers/input/mouse/touchkit_ps2.h
drivers/input/mouse/trackpoint.h
drivers/input/mouse/vmmouse.h