* [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency
@ 2017-01-20 16:25 Arnd Bergmann
2017-01-21 12:34 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2017-01-20 16:25 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Arnd Bergmann, Hartmut Knaack, Lars-Peter Clausen,
Peter Meerwald-Stadler, Linus Walleij, linux-iio, linux-kernel
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>
---
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)
--
2.9.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency
2017-01-20 16:25 [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency Arnd Bergmann
@ 2017-01-21 12:34 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2017-01-21 12:34 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
Linus Walleij, linux-iio, linux-kernel
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)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-21 12:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 16:25 [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency Arnd Bergmann
2017-01-21 12:34 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®