summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/input/touchscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/input/touchscreen.h')
-rw-r--r--kernel/include/linux/input/touchscreen.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/include/linux/input/touchscreen.h b/kernel/include/linux/input/touchscreen.h
new file mode 100644
index 000000000..08a5ef6e8
--- /dev/null
+++ b/kernel/include/linux/input/touchscreen.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2014 Sebastian Reichel <sre@kernel.org>
+ *
+ * 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 _TOUCHSCREEN_H
+#define _TOUCHSCREEN_H
+
+#include <linux/input.h>
+
+#ifdef CONFIG_OF
+void touchscreen_parse_of_params(struct input_dev *dev);
+#else
+static inline void touchscreen_parse_of_params(struct input_dev *dev)
+{
+}
+#endif
+
+#endif