From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:34016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbdLBNYS (ORCPT ); Sat, 2 Dec 2017 08:24:18 -0500 Date: Sat, 2 Dec 2017 13:24:14 +0000 From: Jonathan Cameron To: Daniel Axtens 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 Message-ID: <20171202132414.032876f1@archlinux> In-Reply-To: <20171202122209.14720-1-dja@axtens.net> References: <20171202122209.14720-1-dja@axtens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Sat, 2 Dec 2017 23:22:09 +1100 Daniel Axtens 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 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 > #include > #include > +#include > > #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");