Re: [PATCH v2 01/13] iio: chemical: bme680: Fix missing header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Oct 2024 22:13:17 +0200
Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> > Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
> > Signed-off-by: Vasileios Amoiridis <vassilisamir@xxxxxxxxx>
> > ---
> >  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.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux