Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Florian Fainelli and committed by
Linus Torvalds
55220bb3 2c68bc72

+3
+3
drivers/input/matrix-keymap.c
··· 23 23 #include <linux/input.h> 24 24 #include <linux/of.h> 25 25 #include <linux/export.h> 26 + #include <linux/module.h> 26 27 #include <linux/input/matrix_keypad.h> 27 28 28 29 static bool matrix_keypad_map_key(struct input_dev *input_dev, ··· 162 161 return 0; 163 162 } 164 163 EXPORT_SYMBOL(matrix_keypad_build_keymap); 164 + 165 + MODULE_LICENSE("GPL");