* [PATCH v2 01/13] iio: chemical: bme680: Fix missing header
[not found] <20241021195316.58911-1-vassilisamir@gmail.com>
@ 2024-10-21 19:53 ` Vasileios Amoiridis
2024-10-21 20:13 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Vasileios Amoiridis @ 2024-10-21 19:53 UTC (permalink / raw)
To: jic23, lars, robh, krzk+dt, conor+dt, andriy.shevchenko
Cc: vassilisamir, anshulusr, gustavograzs, linux-iio, devicetree,
linux-kernel, Stable
Add the linux/regmap.h header since the struct regmap_config is used
in this file.
Cc: <Stable@vger.kernel.org>
Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
---
drivers/iio/chemical/bme680.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
index b2c547ac8d34..dc9ff477da34 100644
--- a/drivers/iio/chemical/bme680.h
+++ b/drivers/iio/chemical/bme680.h
@@ -2,6 +2,8 @@
#ifndef BME680_H_
#define BME680_H_
+#include <linux/regmap.h>
+
#define BME680_REG_CHIP_ID 0xD0
#define BME680_CHIP_ID_VAL 0x61
#define BME680_REG_SOFT_RESET 0xE0
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 01/13] iio: chemical: bme680: Fix missing header
2024-10-21 19:53 ` [PATCH v2 01/13] iio: chemical: bme680: Fix missing header Vasileios Amoiridis
@ 2024-10-21 20:13 ` Greg KH
2024-10-27 9:48 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2024-10-21 20:13 UTC (permalink / raw)
To: Vasileios Amoiridis
Cc: jic23, lars, robh, krzk+dt, conor+dt, andriy.shevchenko,
anshulusr, gustavograzs, linux-iio, devicetree, linux-kernel,
Stable
On Mon, Oct 21, 2024 at 09:53:04PM +0200, Vasileios Amoiridis wrote:
> Add the linux/regmap.h header since the struct regmap_config is used
> in this file.
>
> Cc: <Stable@vger.kernel.org>
> Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
> Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
> ---
> drivers/iio/chemical/bme680.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
> index b2c547ac8d34..dc9ff477da34 100644
> --- a/drivers/iio/chemical/bme680.h
> +++ b/drivers/iio/chemical/bme680.h
> @@ -2,6 +2,8 @@
> #ifndef BME680_H_
> #define BME680_H_
>
> +#include <linux/regmap.h>
> +
> #define BME680_REG_CHIP_ID 0xD0
> #define BME680_CHIP_ID_VAL 0x61
> #define BME680_REG_SOFT_RESET 0xE0
Why is this needed in a stable release? Does it fix a bug?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 01/13] iio: chemical: bme680: Fix missing header
2024-10-21 20:13 ` Greg KH
@ 2024-10-27 9:48 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2024-10-27 9:48 UTC (permalink / raw)
To: Greg KH
Cc: Vasileios Amoiridis, lars, robh, krzk+dt, conor+dt,
andriy.shevchenko, anshulusr, gustavograzs, linux-iio, devicetree,
linux-kernel, Stable
On Mon, 21 Oct 2024 22:13:17 +0200
Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Oct 21, 2024 at 09:53:04PM +0200, Vasileios Amoiridis wrote:
> > Add the linux/regmap.h header since the struct regmap_config is used
> > in this file.
> >
> > Cc: <Stable@vger.kernel.org>
> > Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
> > Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
> > ---
> > drivers/iio/chemical/bme680.h | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h
> > index b2c547ac8d34..dc9ff477da34 100644
> > --- a/drivers/iio/chemical/bme680.h
> > +++ b/drivers/iio/chemical/bme680.h
> > @@ -2,6 +2,8 @@
> > #ifndef BME680_H_
> > #define BME680_H_
> >
> > +#include <linux/regmap.h>
> > +
> > #define BME680_REG_CHIP_ID 0xD0
> > #define BME680_CHIP_ID_VAL 0x61
> > #define BME680_REG_SOFT_RESET 0xE0
>
> Why is this needed in a stable release? Does it fix a bug?
>
Indeed this is just tidying up. I've applied but dropped the tag and changed
title to Add missing.... as no reason for this to get backported that I know
of.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-27 9:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20241021195316.58911-1-vassilisamir@gmail.com>
2024-10-21 19:53 ` [PATCH v2 01/13] iio: chemical: bme680: Fix missing header Vasileios Amoiridis
2024-10-21 20:13 ` Greg KH
2024-10-27 9:48 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox