Skip to contentSkip to conversation

i2c: acorn: add MODULE_LICENSE tag

PATCH In review Arnd Bergmann 2 participants 2 messages Jan 15, 2018 – Jan 17, 2018 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 i2c: acorn: add MODULE_LICENSE tag

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.

---
v2: use [email protected] instead of the old address

---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/i2c/busses/i2c-acorn.c +4 -0
index 9d7be5af2bf2..a6f22d30a288 100644
@@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)
 }
 
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <[email protected]>");
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.9.0
#1 lore raw
Quoted 8 lines · Arnd Bergmann

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.

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