mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Hui Wang](/assets/img/avatar_default.png)
Recently we had a building error if we enable the MOUSE_PS2_ALPS while
disable the MOUSE_PS2_TRACKPOINT, and was fixed by 49e6979e7e
("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>
14 lines
403 B
C
14 lines
403 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* ----------------------------------------------------------------------------
|
|
* touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens
|
|
*
|
|
* Copyright (C) 2005 by Stefan Lucke
|
|
* Copyright (c) 2005 Vojtech Pavlik
|
|
*/
|
|
|
|
#ifndef _TOUCHKIT_PS2_H
|
|
#define _TOUCHKIT_PS2_H
|
|
|
|
int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
|
|
|
|
#endif
|