[PATCH 1/2] i2c: core: Switch I2C_COMPAT to default n
From: Heiner Kallweit
Date: Mon Sep 02 2024 - 15:01:28 EST
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
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"
--
2.46.0