Skip to content

Commit 43173a0

Browse files
arndbdtor
authored andcommitted
Input: of_touchscreen - add MODULE_LICENSE
The lack of the MODULE_LICENSE tag can lead to a warning here: WARNING: modpost: missing MODULE_LICENSE() in drivers/input/touchscreen/of_touchscreen.o I'm adding a license and description tag, but no MODULE_AUTHOR() as this file is a collection of standalone helper functions that were all added by different developers. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 906bf7d commit 43173a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/input/touchscreen/of_touchscreen.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/input.h>
1414
#include <linux/input/mt.h>
1515
#include <linux/input/touchscreen.h>
16+
#include <linux/module.h>
1617

1718
static bool touchscreen_get_prop_u32(struct device *dev,
1819
const char *property,
@@ -185,3 +186,6 @@ void touchscreen_report_pos(struct input_dev *input,
185186
input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y);
186187
}
187188
EXPORT_SYMBOL(touchscreen_report_pos);
189+
190+
MODULE_LICENSE("GPL v2");
191+
MODULE_DESCRIPTION("Device-tree helpers functions for touchscreen devices");

0 commit comments

Comments
 (0)