From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752350AbdDJCHm (ORCPT ); Sun, 9 Apr 2017 22:07:42 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:36084 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbdDJCHk (ORCPT ); Sun, 9 Apr 2017 22:07:40 -0400 MIME-Version: 1.0 In-Reply-To: <20170408071840.29380-1-lintonrjeremy@gmail.com> References: <20170408071840.29380-1-lintonrjeremy@gmail.com> From: Xinliang Liu Date: Mon, 10 Apr 2017 10:07:39 +0800 Message-ID: Subject: Re: [PATCH] reset: hi6220: Set module license so that it can be loaded To: Jeremy Linton Cc: Linux Kernel Mailing List , Philipp Zabel , Xia Qing , Feng Chen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8 April 2017 at 15:18, Jeremy Linton wrote: > 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 Thanks, -xinliang > --- > 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 >