diff options
author | Andres Salomon <dilinger@debian.org> | 2007-03-10 01:39:54 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-03-10 01:39:54 -0500 |
commit | 55e3d9224b60df0fd2dc36bff9b538ce40fd9586 (patch) | |
tree | 7a8df6e8996bc1c4e73705750df3b0854e998897 /drivers/input/mouse/touchkit_ps2.h | |
parent | cb9def4dff9fe7e3d3114eba4e2d89f52265e22c (diff) |
Input: psmouse - allow disabing certain protocol extensions
Allow ALPS, LOGIPS2PP, LIFEBOOK, TRACKPOINT and TOUCHKIT protocol
extensions of psmouse to be disabled during compilation. This will
allow users save some memory when they are sure that they will only
use a certain type of mice.
Signed-off-by: Andres Salomon <dilinger@debian.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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/input/mouse/touchkit_ps2.h b/drivers/input/mouse/touchkit_ps2.h index 3f03fbcaf8f0..61e9dfd8419f 100644 --- a/drivers/input/mouse/touchkit_ps2.h +++ b/drivers/input/mouse/touchkit_ps2.h | |||
@@ -12,6 +12,13 @@ | |||
12 | #ifndef _TOUCHKIT_PS2_H | 12 | #ifndef _TOUCHKIT_PS2_H |
13 | #define _TOUCHKIT_PS2_H | 13 | #define _TOUCHKIT_PS2_H |
14 | 14 | ||
15 | #ifdef CONFIG_MOUSE_PS2_TOUCHKIT | ||
15 | int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); | 16 | int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); |
17 | #else | ||
18 | inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties) | ||
19 | { | ||
20 | return -ENOSYS; | ||
21 | } | ||
22 | #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ | ||
16 | 23 | ||
17 | #endif | 24 | #endif |