From: Jonathan Cameron <jic23@kernel.org>
To: Daniel Axtens <dja@axtens.net>
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
linux-iio@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] iio: adc: add MODULE_LICENSE to qcom-vadc-common.c
Date: Sat, 2 Dec 2017 13:24:14 +0000 [thread overview]
Message-ID: <20171202132414.032876f1@archlinux> (raw)
In-Reply-To: <20171202122209.14720-1-dja@axtens.net>
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");
next prev parent reply other threads:[~2017-12-02 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-12-02 13:44 ` Daniel Axtens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171202132414.032876f1@archlinux \
--to=jic23@kernel.org \
--cc=dja@axtens.net \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox