From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:34014 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbdKSKbZ (ORCPT ); Sun, 19 Nov 2017 05:31:25 -0500 Date: Sun, 19 Nov 2017 10:31:22 +0000 From: Jonathan Cameron To: Linus Walleij Cc: linux-iio@vger.kernel.org, Randy Dunlap Subject: Re: [PATCH] iio: adc/accel: Fix up module licenses Message-ID: <20171119103122.6b2e9af7@archlinux> In-Reply-To: <20171118155448.34031532@archlinux> References: <20171113102955.5257-1-linus.walleij@linaro.org> <20171118155448.34031532@archlinux> 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, 18 Nov 2017 15:54:48 +0000 Jonathan Cameron wrote: > On Mon, 13 Nov 2017 11:29:55 +0100 > Linus Walleij wrote: > > > The module license checker complains about these two so just fix > > it up. They are both GPLv2, both written by me or using code > > I extracted while refactoring from the GPLv2 drivers. > > > > Cc: Randy Dunlap > > Reported-by: Randy Dunlap > > Signed-off-by: Linus Walleij > Applied to the togreg branch of iio.git which will probably be be pushed > out as testing for the autobuilders to play with it. Actually - this doesn't pass basic x86_64 build testing... Needs to include module.h in the qcom driver. Done... Jonathan > > Thanks, > > Jonathan > > --- > > drivers/iio/accel/kxsd9-i2c.c | 3 +++ > > drivers/iio/adc/qcom-vadc-common.c | 3 +++ > > 2 files changed, 6 insertions(+) > > > > diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c > > index 98fbb628d5bd..38411e1c155b 100644 > > --- a/drivers/iio/accel/kxsd9-i2c.c > > +++ b/drivers/iio/accel/kxsd9-i2c.c > > @@ -63,3 +63,6 @@ static struct i2c_driver kxsd9_i2c_driver = { > > .id_table = kxsd9_i2c_id, > > }; > > module_i2c_driver(kxsd9_i2c_driver); > > + > > +MODULE_LICENSE("GPL v2"); > > +MODULE_DESCRIPTION("KXSD9 accelerometer I2C interface"); > > diff --git a/drivers/iio/adc/qcom-vadc-common.c b/drivers/iio/adc/qcom-vadc-common.c > > index 47d24ae5462f..d249ce643e48 100644 > > --- a/drivers/iio/adc/qcom-vadc-common.c > > +++ b/drivers/iio/adc/qcom-vadc-common.c > > @@ -229,3 +229,6 @@ 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"); > > +MODULE_DESCRIPTION("Qualcomm ADC common functionality"); > > -- > 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