From: Jeremy Linton Date: Sat, 8 Apr 2017 07:18:40 +0000 (-0500) Subject: reset: hi6220: Set module license so that it can be loaded X-Git-Tag: Ubuntu-5.2.0-15.16~6735^2~5^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4497a224f759cd8350e07382307b55f870ef0df2;p=mirror_ubuntu-eoan-kernel.git reset: hi6220: Set module license so that it can be loaded 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 Reviewed-by: Xinliang Liu Signed-off-by: Philipp Zabel --- 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");