diff mbox series

i2c: acorn: add MODULE_LICENSE tag

Message ID 20180111103751.1506236-1-arnd@arndb.de
State Superseded
Headers show
Series i2c: acorn: add MODULE_LICENSE tag | expand

Commit Message

Arnd Bergmann Jan. 11, 2018, 10:37 a.m. UTC
As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

This adds a license, author and description tag, matching the
comment at the start of the acorn i2c driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.9.0

Comments

Wolfram Sang Jan. 15, 2018, 5:10 p.m. UTC | #1
On Thu, Jan 11, 2018 at 11:37:45AM +0100, Arnd Bergmann wrote:
> As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

> 

> WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

> 

> This adds a license, author and description tag, matching the

> comment at the start of the acorn i2c driver.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


Looks good, but since rmk is still around, let's add him to CC...

> ---

>  drivers/i2c/busses/i2c-acorn.c | 4 ++++

>  1 file changed, 4 insertions(+)

> 

> diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c

> index 9d7be5af2bf2..6463189ca183 100644

> --- a/drivers/i2c/busses/i2c-acorn.c

> +++ b/drivers/i2c/busses/i2c-acorn.c

> @@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)

>  }

>  

>  module_init(i2c_ioc_init);

> +

> +MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");

> +MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");

> +MODULE_LICENSE("GPL v2");

> -- 

> 2.9.0

>
Russell King (Oracle) Jan. 15, 2018, 5:19 p.m. UTC | #2
On Mon, Jan 15, 2018 at 06:10:28PM +0100, Wolfram Sang wrote:
> On Thu, Jan 11, 2018 at 11:37:45AM +0100, Arnd Bergmann wrote:

> > As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

> > 

> > WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

> > 

> > This adds a license, author and description tag, matching the

> > comment at the start of the acorn i2c driver.

> > 

> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> 

> Looks good, but since rmk is still around, let's add him to CC...

> 

> > ---

> >  drivers/i2c/busses/i2c-acorn.c | 4 ++++

> >  1 file changed, 4 insertions(+)

> > 

> > diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c

> > index 9d7be5af2bf2..6463189ca183 100644

> > --- a/drivers/i2c/busses/i2c-acorn.c

> > +++ b/drivers/i2c/busses/i2c-acorn.c

> > @@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)

> >  }

> >  

> >  module_init(i2c_ioc_init);

> > +

> > +MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");


linux@armlinux.org.uk please - dspam on _this_ account files such mails
into the spam mailbox.

Thanks.

> > +MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");

> > +MODULE_LICENSE("GPL v2");

> > -- 

> > 2.9.0

> > 


-- 
Russell King
ARM architecture Linux Kernel maintainer
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c
index 9d7be5af2bf2..6463189ca183 100644
--- a/drivers/i2c/busses/i2c-acorn.c
+++ b/drivers/i2c/busses/i2c-acorn.c
@@ -94,3 +94,7 @@  static int __init i2c_ioc_init(void)
 }
 
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");