Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Adrian Bunk and committed by
Dmitry Torokhov
b3e2c70c 7460caf3

+2 -1
+2 -1
drivers/input/mouse/touchkit_ps2.h
··· 15 15 #ifdef CONFIG_MOUSE_PS2_TOUCHKIT 16 16 int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); 17 17 #else 18 - inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties) 18 + static inline int touchkit_ps2_detect(struct psmouse *psmouse, 19 + int set_properties) 19 20 { 20 21 return -ENOSYS; 21 22 }