From: Jonathan Cameron <jic23@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>
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
Subject: Re: [PATCH] iio: accel: st_accel: add !SENSORS_LIS3LV02D depedency
Date: Sat, 21 Jan 2017 12:34:34 +0000 [thread overview]
Message-ID: <81fbb625-4626-d204-3ade-6640f01ad506@kernel.org> (raw)
In-Reply-To: <20170120162615.3718940-1-arnd@arndb.de>
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)
>
prev parent reply other threads:[~2017-01-21 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 16:25 Arnd Bergmann
2017-01-21 12:34 ` Jonathan Cameron [this message]
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=81fbb625-4626-d204-3ade-6640f01ad506@kernel.org \
--to=jic23@kernel.org \
--cc=arnd@arndb.de \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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
all inboxes | Powered by JetHome®