37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From patchwork Sat Apr 8 07:18:40 2017
|
|
Content-Type: text/plain; charset="utf-8"
|
|
MIME-Version: 1.0
|
|
Content-Transfer-Encoding: 7bit
|
|
Subject: reset: hi6220: Set module license so that it can be loaded
|
|
From: Jeremy Linton <lintonrjeremy@gmail.com>
|
|
X-Patchwork-Id: 9670985
|
|
Message-Id: <20170408071840.29380-1-lintonrjeremy@gmail.com>
|
|
To: linux-kernel@vger.kernel.org
|
|
Cc: p.zabel@pengutronix.de, saberlily.xia@hisilicon.com,
|
|
puck.chen@hisilicon.com, xinliang.liu@linaro.org,
|
|
Jeremy Linton <lintonrjeremy@gmail.com>
|
|
Date: Sat, 8 Apr 2017 02:18:40 -0500
|
|
|
|
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>
|
|
---
|
|
drivers/reset/hisilicon/hi6220_reset.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset/hisilicon/hi6220_reset.c
|
|
index 35ce53e..d5e5229 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");
|