* [PATCH] iio: accel: kxsd9: add MODULE_LICENSE
@ 2017-12-01 2:21 Daniel Axtens
2017-12-02 11:58 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Axtens @ 2017-12-01 2:21 UTC (permalink / raw)
To: jic23, linux-iio; +Cc: trivial, Daniel Axtens
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(+)
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");
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: accel: kxsd9: add MODULE_LICENSE
2017-12-01 2:21 [PATCH] iio: accel: kxsd9: add MODULE_LICENSE Daniel Axtens
@ 2017-12-02 11:58 ` Jonathan Cameron
2017-12-02 12:59 ` Daniel Axtens
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2017-12-02 11:58 UTC (permalink / raw)
To: Daniel Axtens; +Cc: linux-iio, trivial
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");
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: accel: kxsd9: add MODULE_LICENSE
2017-12-02 11:58 ` Jonathan Cameron
@ 2017-12-02 12:59 ` Daniel Axtens
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Axtens @ 2017-12-02 12:59 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: linux-iio, trivial
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");
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-02 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 2:21 [PATCH] iio: accel: kxsd9: add MODULE_LICENSE Daniel Axtens
2017-12-02 11:58 ` Jonathan Cameron
2017-12-02 12:59 ` Daniel Axtens
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.