Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619238 > unrolled thread

[PATCH] reset: hi6220: Set module license so that it can be loaded

Started byJeremy Linton <lintonrjeremy@gmail.com>
First post2017-04-08 09:20 +0200
Last post2017-04-10 11:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] reset: hi6220: Set module license so that it can be loaded Jeremy Linton <lintonrjeremy@gmail.com> - 2017-04-08 09:20 +0200
    Re: [PATCH] reset: hi6220: Set module license so that it can be loaded Xinliang Liu <xinliang.liu@linaro.org> - 2017-04-10 04:10 +0200
    Re: [PATCH] reset: hi6220: Set module license so that it can be  loaded Philipp Zabel <p.zabel@pengutronix.de> - 2017-04-10 11:10 +0200

#1619238 — [PATCH] reset: hi6220: Set module license so that it can be loaded

FromJeremy Linton <lintonrjeremy@gmail.com>
Date2017-04-08 09:20 +0200
Subject[PATCH] reset: hi6220: Set module license so that it can be loaded
Message-ID<ttSP7-2eC-11@gated-at.bofh.it>
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>
---
 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

[toc] | [next] | [standalone]


#1619590

FromXinliang Liu <xinliang.liu@linaro.org>
Date2017-04-10 04:10 +0200
Message-ID<tuwWd-2Px-5@gated-at.bofh.it>
In reply to#1619238
On 8 April 2017 at 15:18, Jeremy Linton <lintonrjeremy@gmail.com> 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 <lintonrjeremy@gmail.com>

reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>

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
>

[toc] | [prev] | [next] | [standalone]


#1619737 — Re: [PATCH] reset: hi6220: Set module license so that it can be loaded

FromPhilipp Zabel <p.zabel@pengutronix.de>
Date2017-04-10 11:10 +0200
SubjectRe: [PATCH] reset: hi6220: Set module license so that it can be loaded
Message-ID<tuDuG-788-3@gated-at.bofh.it>
In reply to#1619238
On Sat, 2017-04-08 at 02:18 -0500, 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 <lintonrjeremy@gmail.com>
> ---
>  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");

Applied, thanks.

regards
Philipp

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web