summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/focaltech.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/focaltech.h')
-rw-r--r--drivers/input/mouse/focaltech.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/mouse/focaltech.h b/drivers/input/mouse/focaltech.h
index ca61ebff3..783b28e8e 100644
--- a/drivers/input/mouse/focaltech.h
+++ b/drivers/input/mouse/focaltech.h
@@ -18,6 +18,14 @@
#define _FOCALTECH_H
int focaltech_detect(struct psmouse *psmouse, bool set_properties);
+
+#ifdef CONFIG_MOUSE_PS2_FOCALTECH
int focaltech_init(struct psmouse *psmouse);
+#else
+static inline int focaltech_init(struct psmouse *psmouse)
+{
+ return -ENOSYS;
+}
+#endif
#endif