All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c
@ 2017-12-02 12:22 Daniel Axtens
  2017-12-02 13:24 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Axtens @ 2017-12-02 12:22 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, linux-iio; +Cc: trivial, Daniel Axtens

This fixes the following warning during an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/adc/qcom-vadc-common.o

This matches the header at the top of the file.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 drivers/iio/adc/qcom-vadc-common.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/iio/adc/qcom-vadc-common.c b/drivers/iio/adc/qcom-vadc-common.c
index 47d24ae5462f..3b2c48ab44ff 100644
--- a/drivers/iio/adc/qcom-vadc-common.c
+++ b/drivers/iio/adc/qcom-vadc-common.c
@@ -5,6 +5,7 @@
 #include <linux/math64.h>
 #include <linux/log2.h>
 #include <linux/err.h>
+#include <linux/module.h>
 
 #include "qcom-vadc-common.h"
 
@@ -229,3 +230,5 @@ int qcom_vadc_decimation_from_dt(u32 value)
 	return __ffs64(value / VADC_DECIMATION_MIN);
 }
 EXPORT_SYMBOL(qcom_vadc_decimation_from_dt);
+
+MODULE_LICENSE("GPL v2");
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c
  2017-12-02 12:22 [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c Daniel Axtens
@ 2017-12-02 13:24 ` Jonathan Cameron
  2017-12-02 13:44   ` Daniel Axtens
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2017-12-02 13:24 UTC (permalink / raw)
  To: Daniel Axtens; +Cc: knaack.h, lars, pmeerw, linux-iio, trivial

On Sat,  2 Dec 2017 23:22:09 +1100
Daniel Axtens <dja@axtens.net> wrote:

> This fixes the following warning during an allmodconfig build:
> WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/adc/qcom-vadc-common.o
> 
> This matches the header at the top of the file.
> 
> Signed-off-by: Daniel Axtens <dja@axtens.net>
This is second or third patch for this one as well.

Please check the togreg (or testing) branch of iio.git on kernel.org.

Thanks,

Jonathan

> ---
>  drivers/iio/adc/qcom-vadc-common.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/iio/adc/qcom-vadc-common.c b/drivers/iio/adc/qcom-vadc-common.c
> index 47d24ae5462f..3b2c48ab44ff 100644
> --- a/drivers/iio/adc/qcom-vadc-common.c
> +++ b/drivers/iio/adc/qcom-vadc-common.c
> @@ -5,6 +5,7 @@
>  #include <linux/math64.h>
>  #include <linux/log2.h>
>  #include <linux/err.h>
> +#include <linux/module.h>
>  
>  #include "qcom-vadc-common.h"
>  
> @@ -229,3 +230,5 @@ int qcom_vadc_decimation_from_dt(u32 value)
>  	return __ffs64(value / VADC_DECIMATION_MIN);
>  }
>  EXPORT_SYMBOL(qcom_vadc_decimation_from_dt);
> +
> +MODULE_LICENSE("GPL v2");


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c
  2017-12-02 13:24 ` Jonathan Cameron
@ 2017-12-02 13:44   ` Daniel Axtens
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Axtens @ 2017-12-02 13:44 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: knaack.h, lars, pmeerw, linux-iio, trivial

Hi Jonathan,

> On Sat,  2 Dec 2017 23:22:09 +1100
> Daniel Axtens <dja@axtens.net> wrote:
>
>> This fixes the following warning during an allmodconfig build:
>> WARNING: modpost: missing MODULE_LICENSE() in drivers/iio/adc/qcom-vadc-common.o
>> 
>> This matches the header at the top of the file.
>> 
>> Signed-off-by: Daniel Axtens <dja@axtens.net>
> This is second or third patch for this one as well.
>
> Please check the togreg (or testing) branch of iio.git on kernel.org.
>
Apologies - I don't think I have any other patches for iio, but if I do
I will check that branch before sending.

Regards,
Daniel

> Thanks,
>
> Jonathan
>
>> ---
>>  drivers/iio/adc/qcom-vadc-common.c | 3 +++
>>  1 file changed, 3 insertions(+)
>> 
>> diff --git a/drivers/iio/adc/qcom-vadc-common.c b/drivers/iio/adc/qcom-vadc-common.c
>> index 47d24ae5462f..3b2c48ab44ff 100644
>> --- a/drivers/iio/adc/qcom-vadc-common.c
>> +++ b/drivers/iio/adc/qcom-vadc-common.c
>> @@ -5,6 +5,7 @@
>>  #include <linux/math64.h>
>>  #include <linux/log2.h>
>>  #include <linux/err.h>
>> +#include <linux/module.h>
>>  
>>  #include "qcom-vadc-common.h"
>>  
>> @@ -229,3 +230,5 @@ int qcom_vadc_decimation_from_dt(u32 value)
>>  	return __ffs64(value / VADC_DECIMATION_MIN);
>>  }
>>  EXPORT_SYMBOL(qcom_vadc_decimation_from_dt);
>> +
>> +MODULE_LICENSE("GPL v2");

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-02 13:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-02 12:22 [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c Daniel Axtens
2017-12-02 13:24 ` Jonathan Cameron
2017-12-02 13:44   ` 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.