summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Linton <lintonrjeremy@gmail.com>2017-04-08 02:18:40 -0500
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-05-24 10:53:41 +0200
commit4497a224f759cd8350e07382307b55f870ef0df2 (patch)
tree2d846fd49e1c3df4f093f748ac1b47ec3d001833
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-4497a224f759cd8350e07382307b55f870ef0df2.tar.gz
linux-4497a224f759cd8350e07382307b55f870ef0df2.tar.xz
reset: hi6220: Set module license so that it can be loadedreset-fixes-for-4.12
The hi6220_reset driver can be built as a standalone module yet it cannot be loaded because it depends on GPL exported symbols. Lets set the module license so that the module loads, and things like the on-board kirin drm starts working. Signed-off-by: Jeremy Linton <lintonrjeremy@gmail.com> Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--drivers/reset/hisilicon/hi6220_reset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c
index 35ce53edabf9..d5e5229308f2 100644
--- a/drivers/reset/hisilicon/hi6220_reset.c
+++ b/drivers/reset/hisilicon/hi6220_reset.c
@@ -155,3 +155,5 @@ static int __init hi6220_reset_init(void)
}
postcore_initcall(hi6220_reset_init);
+
+MODULE_LICENSE("GPL v2");