[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130621071603.GA24151@gondor.apana.org.au>
Date: Fri, 21 Jun 2013 15:16:03 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-kernel@...r.kernel.org, patches@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org,
Dom Cobley <popcornmix@...il.com>,
Lubomir Rintel <lkundrak@...sk>,
Stephen Warren <swarren@...dotorg.org>,
Matt Mackall <mpm@...enic.com>,
linux-rpi-kernel@...ts.infradead.org
Subject: Re: [PATCH 05/15] hwrng: bcm2835: fix MODULE_LICENSE tag
On Sat, Jun 01, 2013 at 12:22:42AM +0200, Arnd Bergmann wrote:
> The MODULE_LICENSE macro invocation must use either "GPL" or "GPL v2",
> but not "GPLv2" in order to be detected by the module loader.
>
> This fixes the allmodconfig build error:
>
> FATAL: modpost: GPL-incompatible module bcm2835-rng.ko uses GPL-only symbol 'platform_driver_unregister'
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: Dom Cobley <popcornmix@...il.com>
> Cc: Lubomir Rintel <lkundrak@...sk>
> Cc: Stephen Warren <swarren@...dotorg.org>
> Cc: Matt Mackall <mpm@...enic.com>
> Cc: linux-rpi-kernel@...ts.infradead.org
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> ---
> drivers/char/hw_random/bcm2835-rng.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c
> index eb7f147..43577ca 100644
> --- a/drivers/char/hw_random/bcm2835-rng.c
> +++ b/drivers/char/hw_random/bcm2835-rng.c
> @@ -110,4 +110,4 @@ module_platform_driver(bcm2835_rng_driver);
>
> MODULE_AUTHOR("Lubomir Rintel <lkundrak@...sk>");
> MODULE_DESCRIPTION("BCM2835 Random Number Generator (RNG) driver");
> -MODULE_LICENSE("GPLv2");
> +MODULE_LICENSE("GPL v2");
Patch applied. Thanks!
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists