Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564104

Re: [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency
Date Sat, 21 Jan 2017 13:40:01 +0100
Message-ID <t237z-401-1@gated-at.bofh.it> (permalink)
References <t1KeE-16c-45@gated-at.bofh.it>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Linus Walleij <linus.walleij@linaro.org>, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Sat, 21 Jan 2017 12:34:34 +0000
X-Original-Message-ID <81fbb625-4626-d204-3ade-6640f01ad506@kernel.org>
X-Original-References <20170120162615.3718940-1-arnd@arndb.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1564104

Show key headers only | View raw


On 20/01/17 16:25, Arnd Bergmann wrote:
> warning: (IIO_ST_ACCEL_3AXIS) selects IIO_ST_ACCEL_SPI_3AXIS which has unmet direct dependencies (IIO && !SENSORS_LIS3_SPI && IIO_ST_ACCEL_3AXIS && IIO_ST_SENSORS_SPI)
> 
> Fixes: 762227721fe6 ("iio: accel: st_accel: handle deprecated bindings")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
At least at first glance, this is a different approach to fixing the issue
from the one Linus took.  I think that one has already been picked up
by Greg (or will be shortly).  Linus, please confirm this is the same issue.

thanks,

Jonathan
> ---
>  drivers/iio/accel/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
> index ea295fe0f561..590ba8835fdc 100644
> --- a/drivers/iio/accel/Kconfig
> +++ b/drivers/iio/accel/Kconfig
> @@ -120,6 +120,7 @@ config HID_SENSOR_ACCEL_3D
>  config IIO_ST_ACCEL_3AXIS
>  	tristate "STMicroelectronics accelerometers 3-Axis Driver"
>  	depends on (I2C || SPI_MASTER) && SYSFS
> +	depends on !SENSORS_LIS3LV02D
>  	select IIO_ST_SENSORS_CORE
>  	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
>  	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
> 

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency Arnd Bergmann <arnd@arndb.de> - 2017-01-20 17:30 +0100
  Re: [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency Jonathan Cameron <jic23@kernel.org> - 2017-01-21 13:40 +0100

csiph-web