Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3e2c70c authored by Adrian Bunk's avatar Adrian Bunk Committed by Dmitry Torokhov
Browse files

Input: psmouse - make dummy touchkit_ps2_detect() static



The dummy touchkit_ps2_detect() for the CONFIG_MOUSE_PS2_TOUCHKIT=n case
shouldn't be a global function.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 7460caf3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@
#ifdef CONFIG_MOUSE_PS2_TOUCHKIT
int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties);
#else
inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties)
static inline int touchkit_ps2_detect(struct psmouse *psmouse,
				      int set_properties)
{
	return -ENOSYS;
}