From: Jonathan Cameron <jic23@kernel.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-iio@vger.kernel.org,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Andrea Merello <andrea.merello@iit.it>
Subject: Re: [PATCH] iio: imu: bno055: Fix missing Kconfig dependencies
Date: Sun, 10 Sep 2023 14:47:20 +0100 [thread overview]
Message-ID: <20230910144720.4d5a110c@jic23-huawei> (raw)
In-Reply-To: <589ab021-4dca-4547-3b5f-d2d9a9210cbb@infradead.org>
On Sun, 3 Sep 2023 08:27:36 -0700
Randy Dunlap <rdunlap@infradead.org> wrote:
> On 9/3/23 04:30, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > This driver uses IIO triggered buffers so it needs to select them in
> > Kconfig.
> >
> > on riscv-32bit:
> >
> > /opt/crosstool/gcc-13.2.0-nolibc/riscv32-linux/bin/riscv32-linux-ld: drivers/iio/imu/bno055/bno055.o: in function `.L367':
> > bno055.c:(.text+0x2c96): undefined reference to `devm_iio_triggered_buffer_setup_ext'
> >
> > Reported-by: Randy Dunlap <rdunlap@infradead.org>
> > Closes: https://lore.kernel.org/linux-next/40566b4b-3950-81fe-ff14-871d8c447627@infradead.org/
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Andrea Merello <andrea.merello@iit.it>
>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org>
Applied to the fixes togreg branch of iio.git and marked for stable.
I added missing fixes tag as well whilst doing so. Goes all the way back
to first introduction of the driver.
Thanks,
Jonathan
>
> Thanks.
>
> > ---
> > drivers/iio/imu/bno055/Kconfig | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/iio/imu/bno055/Kconfig b/drivers/iio/imu/bno055/Kconfig
> > index fa79b1ac4f85..83e53acfbe88 100644
> > --- a/drivers/iio/imu/bno055/Kconfig
> > +++ b/drivers/iio/imu/bno055/Kconfig
> > @@ -2,6 +2,8 @@
> >
> > config BOSCH_BNO055
> > tristate
> > + select IIO_BUFFER
> > + select IIO_TRIGGERED_BUFFER
> >
> > config BOSCH_BNO055_SERIAL
> > tristate "Bosch BNO055 attached via UART"
>
prev parent reply other threads:[~2023-09-10 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-03 11:30 [PATCH] iio: imu: bno055: Fix missing Kconfig dependencies Jonathan Cameron
2023-09-03 15:27 ` Randy Dunlap
2023-09-10 13:47 ` 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=20230910144720.4d5a110c@jic23-huawei \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=andrea.merello@iit.it \
--cc=linux-iio@vger.kernel.org \
--cc=rdunlap@infradead.org \
/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