]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
reset: hi6220: Set module license so that it can be loaded
authorJeremy Linton <lintonrjeremy@gmail.com>
Sat, 8 Apr 2017 07:18:40 +0000 (02:18 -0500)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 24 May 2017 08:53:41 +0000 (10:53 +0200)
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>
drivers/reset/hisilicon/hi6220_reset.c

index 35ce53edabf90009efcd228e71a109e410337708..d5e5229308f2291136ebe7c6061346507a733907 100644 (file)
@@ -155,3 +155,5 @@ static int __init hi6220_reset_init(void)
 }
 
 postcore_initcall(hi6220_reset_init);
+
+MODULE_LICENSE("GPL v2");