diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-08-30 00:44:33 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-08-30 00:44:33 -0400 |
commit | b3e2c70cd0d05fb6621521521fbd5debed57d753 (patch) | |
tree | 91d8355db447617a95bacfc359a7857264977887 /drivers/input/mouse/touchkit_ps2.h | |
parent | 7460caf32a16866f9d8675aa7aefd7d82d1e23f7 (diff) |
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>
Diffstat (limited to 'drivers/input/mouse/touchkit_ps2.h')
-rw-r--r-- | drivers/input/mouse/touchkit_ps2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/mouse/touchkit_ps2.h b/drivers/input/mouse/touchkit_ps2.h index 61e9dfd8419f..8a0dd3574aef 100644 --- a/drivers/input/mouse/touchkit_ps2.h +++ b/drivers/input/mouse/touchkit_ps2.h | |||
@@ -15,7 +15,8 @@ | |||
15 | #ifdef CONFIG_MOUSE_PS2_TOUCHKIT | 15 | #ifdef CONFIG_MOUSE_PS2_TOUCHKIT |
16 | int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); | 16 | int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); |
17 | #else | 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 | return -ENOSYS; | 21 | return -ENOSYS; |
21 | } | 22 | } |