diff mbox

iio: accel: kxsd9: add MODULE_LICENSE

Message ID 20171201022131.26456-1-dja@axtens.net (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Axtens Dec. 1, 2017, 2:21 a.m. UTC
This fixes the following warning in an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 drivers/iio/accel/kxsd9-i2c.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jonathan Cameron Dec. 2, 2017, 11:58 a.m. UTC | #1
On Fri,  1 Dec 2017 13:21:31 +1100
Daniel Axtens <dja@axtens.net> wrote:

> This fixes the following warning in an allmodconfig build:
> WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o
> 
> Signed-off-by: Daniel Axtens <dja@axtens.net>
I clearly need to be a bit sharper with sending pull requests upstream.

This is patch 3 for the same issue.

Jonathan
> ---
>  drivers/iio/accel/kxsd9-i2c.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c
> index 98fbb628d5bd..5e14262248b8 100644
> --- a/drivers/iio/accel/kxsd9-i2c.c
> +++ b/drivers/iio/accel/kxsd9-i2c.c
> @@ -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");

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Daniel Axtens Dec. 2, 2017, 12:59 p.m. UTC | #2
Hi Jonathan,

> On Fri,  1 Dec 2017 13:21:31 +1100
> Daniel Axtens <dja@axtens.net> wrote:
>
>> This fixes the following warning in an allmodconfig build:
>> WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/accel/kxsd9-i2c.o
>> 
>> Signed-off-by: Daniel Axtens <dja@axtens.net>
> 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

>
> Jonathan
>> ---
>>  drivers/iio/accel/kxsd9-i2c.c | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c
>> index 98fbb628d5bd..5e14262248b8 100644
>> --- a/drivers/iio/accel/kxsd9-i2c.c
>> +++ b/drivers/iio/accel/kxsd9-i2c.c
>> @@ -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");
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c
index 98fbb628d5bd..5e14262248b8 100644
--- a/drivers/iio/accel/kxsd9-i2c.c
+++ b/drivers/iio/accel/kxsd9-i2c.c
@@ -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");