Skip to contentSkip to conversation

iio: accel: kxsd9: add MODULE_LICENSE

PATCH In review Daniel Axtens 2 participants 3 messages Dec 1, 2017 – Dec 2, 2017 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: accel: kxsd9: add MODULE_LICENSE

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o

---
 drivers/iio/accel/kxsd9-i2c.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/iio/accel/kxsd9-i2c.c +2 -0
index 98fbb628d5bd..5e14262248b8 100644
@@ -63,3 +63,5 @@ static struct i2c_driver kxsd9_i2c_driver = {
 	.id_table	= kxsd9_i2c_id,
 };
 module_i2c_driver(kxsd9_i2c_driver);
+
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.11.0
maintainer
#1 lore raw
Quoted 4 lines · On Fri, 1 Dec 2017 13:21:31 +1100 Daniel Axtens <[email protected]> wrote:

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o

I clearly need to be a bit sharper with sending pull requests upstream.

This is patch 3 for the same issue.

Jonathan

Quoted 14 lines
---
 drivers/iio/accel/kxsd9-i2c.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/iio/accel/kxsd9-i2c.c +2 -0
index 98fbb628d5bd..5e14262248b8 100644
@@ -63,3 +63,5 @@ static struct i2c_driver kxsd9_i2c_driver = {
 	.id_table	= kxsd9_i2c_id,
 };
 module_i2c_driver(kxsd9_i2c_driver);
+
+MODULE_LICENSE("GPL v2");
#2 lore raw

Hi Jonathan,

Quoted 10 lines
Quoted 4 lines · On Fri, 1 Dec 2017 13:21:31 +1100 Daniel Axtens <[email protected]> wrote:

This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o

I clearly need to be a bit sharper with sending pull requests upstream.

This is patch 3 for the same issue.

My apologies for the noise then - I was running my builds on linux-next and the patch musn't have filtered though to there yet.

Regards,
Daniel

Quoted 16 lines

Jonathan

Quoted 14 lines
---
 drivers/iio/accel/kxsd9-i2c.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/iio/accel/kxsd9-i2c.c +2 -0
index 98fbb628d5bd..5e14262248b8 100644
@@ -63,3 +63,5 @@ static struct i2c_driver kxsd9_i2c_driver = {
 	.id_table	= kxsd9_i2c_id,
 };
 module_i2c_driver(kxsd9_i2c_driver);
+
+MODULE_LICENSE("GPL v2");