Commit 55220bb3 authored by Florian Fainelli's avatar Florian Fainelli Committed by Linus Torvalds

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 1932811f ("Input: matrix-keymap
- uninline and prepare for device tree support")
Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
CC: stable@vger.kernel.org # v3.5+
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2c68bc72
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <linux/input.h> #include <linux/input.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/export.h> #include <linux/export.h>
#include <linux/module.h>
#include <linux/input/matrix_keypad.h> #include <linux/input/matrix_keypad.h>
static bool matrix_keypad_map_key(struct input_dev *input_dev, 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,3 +162,5 @@ int matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data,
return 0; return 0;
} }
EXPORT_SYMBOL(matrix_keypad_build_keymap); EXPORT_SYMBOL(matrix_keypad_build_keymap);
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment