Re: [PATCH 1/2] i2c: core: Switch I2C_COMPAT to default n

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

 



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@xxxxxxxxx>
> ---
>  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




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux