diff mbox series

[v2] i2c: acorn: add MODULE_LICENSE tag

Message ID 20180115202942.1858432-1-arnd@arndb.de
State Accepted
Headers show
Series [v2] i2c: acorn: add MODULE_LICENSE tag | expand

Commit Message

Arnd Bergmann Jan. 15, 2018, 8:28 p.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>
---
v2: use linux@armlinux.org.uk instead of the old address
---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Wolfram Sang Jan. 17, 2018, 11:07 p.m. UTC | #1
On Mon, Jan 15, 2018 at 09:28:39PM +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>

Since you addressed Russell's comment from V1: applied to for-next,
thanks!
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-acorn.c b/drivers/i2c/busses/i2c-acorn.c
index 9d7be5af2bf2..a6f22d30a288 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 <linux@armlinux.org.uk>");
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");