summaryrefslogtreecommitdiff
path: root/target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-29 02:19:03 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-29 02:19:03 +0000
commitf44c65c7c8d57b08c783051a55c7e3eb367e6f7b (patch)
treecd0bf074d3a84802878791a8b4b7bd8d5b0a0faa /target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch
parent7b7c06d2e3cdd8d54c3a99d2cb0725ecbc07c9d0 (diff)
downloadmtk-20170518-f44c65c7c8d57b08c783051a55c7e3eb367e6f7b.zip
mtk-20170518-f44c65c7c8d57b08c783051a55c7e3eb367e6f7b.tar.gz
mtk-20170518-f44c65c7c8d57b08c783051a55c7e3eb367e6f7b.tar.bz2
imx6: update 3.10 patches
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38571
Diffstat (limited to 'target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch')
-rw-r--r--target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch b/target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch
new file mode 100644
index 0000000..dfdefe7
--- /dev/null
+++ b/target/linux/imx6/patches-3.10/0022-regulator-pfuze100-add-MODULE_LICENSE-in-pfuze100-dr.patch
@@ -0,0 +1,21 @@
+From: Robin Gong <b38343@freescale.com>
+Subject: [PATCH] regulator: pfuze100: add MODULE_LICENSE() in pfuze100 driver
+
+Fix building error on x86_64 and i386:
+WARNING: modpost: missing MODULE_LICENSE() in
+drivers/regulator/pfuze100-regulator.o
+
+Signed-off-by: Robin Gong <b38343@freescale.com>
+Signed-off-by: Mark Brown <broonie@linaro.org>
+---
+ drivers/regulator/pfuze100-regulator.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/regulator/pfuze100-regulator.c
++++ b/drivers/regulator/pfuze100-regulator.c
+@@ -451,4 +451,5 @@ module_i2c_driver(pfuze_driver);
+
+ MODULE_AUTHOR("Robin Gong <b38343@freescale.com>");
+ MODULE_DESCRIPTION("Regulator Driver for Freescale PFUZE100 PMIC");
++MODULE_LICENSE("GPL v2");
+ MODULE_ALIAS("pfuze100-regulator");