aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/touchkit_ps2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/touchkit_ps2.h')
-rw-r--r--drivers/input/mouse/touchkit_ps2.h7
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
15int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); 16int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties);
17#else
18inline 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