1 From 07b9a6cde27d690ea3331fc2ca2778902d929aaa Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Mon, 10 Dec 2012 20:55:54 +0100
4 Subject: [PATCH] Input: matrix-keymap - provide a proper module license
6 The matrix-keymap module is currently lacking a proper module license,
7 add one so we don't have this module tainting the entire kernel. This
8 issue has been present since commit 1932811f (Input: matrix-keymap -
9 uninline and prepare for device tree support)
11 Signed-off-by: Florian Fainelli <florian@openwrt.org>
12 CC: stable@vger.kernel.org
14 Dmitry, can you try to push this to Linus before 3.7 final? Thank you
16 drivers/input/matrix-keymap.c | 3 +++
17 1 file changed, 3 insertions(+)
19 --- a/drivers/input/matrix-keymap.c
20 +++ b/drivers/input/matrix-keymap.c
22 #include <linux/input.h>
24 #include <linux/export.h>
25 +#include <linux/module.h>
26 #include <linux/input/matrix_keypad.h>
28 static bool matrix_keypad_map_key(struct input_dev *input_dev,
29 @@ -161,3 +162,5 @@ int matrix_keypad_build_keymap(const str
32 EXPORT_SYMBOL(matrix_keypad_build_keymap);
34 +MODULE_LICENSE("GPL");