Skip to content

Commit 516d798

Browse files
ffainellidtor
authored andcommitted
Input: matrix-keymap - provide a proper module license
The matrix-keymap module is currently lacking a proper module license, add one so we don't have this module tainting the entire kernel. This issue has been present since commit 1932811 (Input: matrix-keymap - uninline and prepare for device tree support) Signed-off-by: Florian Fainelli <florian@openwrt.org> CC: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent e12b3ce commit 516d798

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/input/matrix-keymap.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <linux/input.h>
2424
#include <linux/of.h>
2525
#include <linux/export.h>
26+
#include <linux/module.h>
2627
#include <linux/input/matrix_keypad.h>
2728

2829
static bool matrix_keypad_map_key(struct input_dev *input_dev,
@@ -161,3 +162,5 @@ int matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data,
161162
return 0;
162163
}
163164
EXPORT_SYMBOL(matrix_keypad_build_keymap);
165+
166+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)