提交 b3e2c70c 编写于 作者: A Adrian Bunk 提交者: Dmitry Torokhov

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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 7460caf3
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
#ifdef CONFIG_MOUSE_PS2_TOUCHKIT #ifdef CONFIG_MOUSE_PS2_TOUCHKIT
int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties);
#else #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; return -ENOSYS;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册