Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751978AbdDHHSw (ORCPT ); Sat, 8 Apr 2017 03:18:52 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:37504 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751220AbdDHHSo (ORCPT ); Sat, 8 Apr 2017 03:18:44 -0400 From: Jeremy Linton 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 Subject: [PATCH] reset: hi6220: Set module license so that it can be loaded Date: Sat, 8 Apr 2017 02:18:40 -0500 Message-Id: <20170408071840.29380-1-lintonrjeremy@gmail.com> X-Mailer: git-send-email 2.10.2 X-RR-Connecting-IP: 107.14.168.7:25 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 23 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 --- 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"); -- 2.10.2