summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/lifebook.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/mouse/lifebook.h')
-rw-r--r--drivers/input/mouse/lifebook.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h
new file mode 100644
index 0000000..c1647cf
--- /dev/null
+++ b/drivers/input/mouse/lifebook.h
@@ -0,0 +1,28 @@
+/*
+ * Fujitsu B-series Lifebook PS/2 TouchScreen driver
+ *
+ * Copyright (c) 2005 Vojtech Pavlik
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ */
+
+#ifndef _LIFEBOOK_H
+#define _LIFEBOOK_H
+
+#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
+int lifebook_detect(struct psmouse *psmouse, int set_properties);
+int lifebook_init(struct psmouse *psmouse);
+#else
+inline int lifebook_detect(struct psmouse *psmouse, int set_properties)
+{
+ return -ENOSYS;
+}
+inline int lifebook_init(struct psmouse *psmouse)
+{
+ return -ENOSYS;
+}
+#endif
+
+#endif
OpenPOWER on IntegriCloud