summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-12-10 12:18:20 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-12-10 12:20:34 -0800
commit516d798f656614f59553b1ff3592c2c36102b684 (patch)
tree4b683bdeee2a5718bcdda5cc325c458b2c79eaf7 /drivers/input
parente12b3cecf221644ccab64d7c30a6df58b7630cb0 (diff)
downloadlinux-3.10-516d798f656614f59553b1ff3592c2c36102b684.tar.gz
linux-3.10-516d798f656614f59553b1ff3592c2c36102b684.tar.bz2
linux-3.10-516d798f656614f59553b1ff3592c2c36102b684.zip
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 1932811f (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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/matrix-keymap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/matrix-keymap.c b/drivers/input/matrix-keymap.c
index 443ad64b7f2..d88d9be1d1b 100644
--- a/drivers/input/matrix-keymap.c
+++ b/drivers/input/matrix-keymap.c
@@ -23,6 +23,7 @@
#include <linux/input.h>
#include <linux/of.h>
#include <linux/export.h>
+#include <linux/module.h>
#include <linux/input/matrix_keypad.h>
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,
return 0;
}
EXPORT_SYMBOL(matrix_keypad_build_keymap);
+
+MODULE_LICENSE("GPL");