78560e3
From patchwork Sat Apr  8 07:18:40 2017
78560e3
Content-Type: text/plain; charset="utf-8"
78560e3
MIME-Version: 1.0
78560e3
Content-Transfer-Encoding: 7bit
78560e3
Subject: reset: hi6220: Set module license so that it can be loaded
78560e3
From: Jeremy Linton <lintonrjeremy@gmail.com>
78560e3
X-Patchwork-Id: 9670985
78560e3
Message-Id: <20170408071840.29380-1-lintonrjeremy@gmail.com>
78560e3
To: linux-kernel@vger.kernel.org
78560e3
Cc: p.zabel@pengutronix.de, saberlily.xia@hisilicon.com,
78560e3
 puck.chen@hisilicon.com, xinliang.liu@linaro.org,
78560e3
 Jeremy Linton <lintonrjeremy@gmail.com>
78560e3
Date: Sat,  8 Apr 2017 02:18:40 -0500
78560e3
78560e3
The hi6220_reset driver can be built as a standalone module
78560e3
yet it cannot be loaded because it depends on GPL exported symbols.
78560e3
78560e3
Lets set the module license so that the module loads, and things like
78560e3
the on-board kirin drm starts working.
78560e3
78560e3
Signed-off-by: Jeremy Linton <lintonrjeremy@gmail.com>
78560e3
reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
78560e3
---
78560e3
 drivers/reset/hisilicon/hi6220_reset.c | 2 ++
78560e3
 1 file changed, 2 insertions(+)
78560e3
78560e3
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c
78560e3
index 35ce53e..d5e5229 100644
78560e3
--- a/drivers/reset/hisilicon/hi6220_reset.c
78560e3
+++ b/drivers/reset/hisilicon/hi6220_reset.c
78560e3
@@ -155,3 +155,5 @@ static int __init hi6220_reset_init(void)
78560e3
 }
78560e3
 
78560e3
 postcore_initcall(hi6220_reset_init);
78560e3
+
78560e3
+MODULE_LICENSE("GPL v2");