Message ID | 8e618f52-413c-41c1-9ac2-0260a1904792@gmail.com |
---|---|
State | Rejected |
Headers | show |
Series | i2c: core: prepare dropping support for I2C_COMPAT | expand |
On Mon, Sep 02, 2024 at 09:01:18PM +0200, Heiner Kallweit wrote: > I2C_COMPAT has been considered deprecated for 15 years now. > Therefore make it default n, before we remove support for it > in the near future. > > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> > --- > drivers/i2c/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig > index 44710267d..e5721cebb 100644 > --- a/drivers/i2c/Kconfig > +++ b/drivers/i2c/Kconfig > @@ -42,11 +42,11 @@ config I2C_BOARDINFO > > config I2C_COMPAT > bool "Enable compatibility bits for old user-space" > - default y > + default n Just remove the default line, that way it will default to 'n'. thanks, greg k-h
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 44710267d..e5721cebb 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -42,11 +42,11 @@ config I2C_BOARDINFO config I2C_COMPAT bool "Enable compatibility bits for old user-space" - default y + default n help Say Y here if you intend to run lm-sensors 3.1.1 or older, or any other user-space package which expects i2c adapters to be class - devices. If you don't know, say Y. + devices. If you don't know, say N. config I2C_CHARDEV tristate "I2C device interface"
I2C_COMPAT has been considered deprecated for 15 years now. Therefore make it default n, before we remove support for it in the near future. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/i2c/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)