iio: accel: kxsd9: add MODULE_LICENSE
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
@@ -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
Jonathan Cameron
maintainerQuoted 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: missingMODULE_LICENSE()indrivers/iio/accel/kxsd9-i2c.oSigned-off-by Daniel Axtens <[email protected]>
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@@ -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" );
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: missingMODULE_LICENSE()indrivers/iio/accel/kxsd9-i2c.oSigned-off-by Daniel Axtens <[email protected]>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@@ -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" );