Re: [PATCH] regulator:pfuze100: add MODULE_LICENSE() in pfuze100driver

From: Randy Dunlap
Date: Mon Jul 29 2013 - 13:23:04 EST


On 07/28/13 20:40, Robin Gong wrote:
> Fix building error on x86_64 and i386:
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/regulator/pfuze100-regulator.o
>
> Signed-off-by: Robin Gong <b38343@xxxxxxxxxxxxx>

Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> drivers/regulator/pfuze100-regulator.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
> index e2f9dcf..2dadc31 100644
> --- a/drivers/regulator/pfuze100-regulator.c
> +++ b/drivers/regulator/pfuze100-regulator.c
> @@ -451,4 +451,5 @@ module_i2c_driver(pfuze_driver);
>
> MODULE_AUTHOR("Robin Gong <b38343@xxxxxxxxxxxxx>");
> MODULE_DESCRIPTION("Regulator Driver for Freescale PFUZE100 PMIC");
> +MODULE_LICENSE("GPL v2");
> MODULE_ALIAS("pfuze100-regulator");
>


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/