aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/touchscreen/of_touchscreen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/of_touchscreen.c b/drivers/input/touchscreen/of_touchscreen.c
index 8d7f9c8f2771..9642f103b726 100644
--- a/drivers/input/touchscreen/of_touchscreen.c
+++ b/drivers/input/touchscreen/of_touchscreen.c
@@ -13,6 +13,7 @@
13#include <linux/input.h> 13#include <linux/input.h>
14#include <linux/input/mt.h> 14#include <linux/input/mt.h>
15#include <linux/input/touchscreen.h> 15#include <linux/input/touchscreen.h>
16#include <linux/module.h>
16 17
17static bool touchscreen_get_prop_u32(struct device *dev, 18static bool touchscreen_get_prop_u32(struct device *dev,
18 const char *property, 19 const char *property,
@@ -185,3 +186,6 @@ void touchscreen_report_pos(struct input_dev *input,
185 input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y); 186 input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y);
186} 187}
187EXPORT_SYMBOL(touchscreen_report_pos); 188EXPORT_SYMBOL(touchscreen_report_pos);
189
190MODULE_LICENSE("GPL v2");
191MODULE_DESCRIPTION("Device-tree helpers functions for touchscreen devices");