diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-12-10 15:25:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-10 19:10:05 -0500 |
commit | 55220bb3e5f917dd5fee1153c612f9a83599f639 (patch) | |
tree | 5c0418f374d0c63e21dc27295d4f0c181d72daee | |
parent | 2c68bc72dc77be3e8c32cd7ad6c7714ee21efd79 (diff) |
Input: matrix-keymap - provide 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 1932811f426f ("Input: matrix-keymap
- uninline and prepare for device tree support")
Signed-off-by: Florian Fainelli <florian@openwrt.org>
CC: stable@vger.kernel.org # v3.5+
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/input/matrix-keymap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/matrix-keymap.c b/drivers/input/matrix-keymap.c index 443ad64b7f2a..d88d9be1d1b7 100644 --- a/drivers/input/matrix-keymap.c +++ b/drivers/input/matrix-keymap.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/input.h> | 23 | #include <linux/input.h> |
24 | #include <linux/of.h> | 24 | #include <linux/of.h> |
25 | #include <linux/export.h> | 25 | #include <linux/export.h> |
26 | #include <linux/module.h> | ||
26 | #include <linux/input/matrix_keypad.h> | 27 | #include <linux/input/matrix_keypad.h> |
27 | 28 | ||
28 | static bool matrix_keypad_map_key(struct input_dev *input_dev, | 29 | 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, | |||
161 | return 0; | 162 | return 0; |
162 | } | 163 | } |
163 | EXPORT_SYMBOL(matrix_keypad_build_keymap); | 164 | EXPORT_SYMBOL(matrix_keypad_build_keymap); |
165 | |||
166 | MODULE_LICENSE("GPL"); | ||