aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-09-18 16:45:46 -0400
committerJean Delvare <khali@linux-fr.org>2009-09-18 16:45:46 -0400
commit2bb5095affdb8d6e8646a5b8b5a35c1d6a28c3e7 (patch)
tree5fb1e8ae4f2882a592855b5c2afd2872a312cbb8 /drivers/i2c/Kconfig
parent4f8cf8240a0c8b232c2ae22e019a4ba1d5f19ccd (diff)
i2c: Provide compatibility links for i2c adapters
Some user-space applications may be relying on i2c adapters showing up as class devices in sysfs. Provide compatibility links for them for the time being. We will remove them after a long transition period. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r--drivers/i2c/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 711ca08ab776..d7ece131b4f4 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -27,6 +27,14 @@ config I2C_BOARDINFO
27 boolean 27 boolean
28 default y 28 default y
29 29
30config I2C_COMPAT
31 boolean "Enable compatibility bits for old user-space"
32 default y
33 help
34 Say Y here if you intend to run lm-sensors 3.1.1 or older, or any
35 other user-space package which expects i2c adapters to be class
36 devices. If you don't know, say Y.
37
30config I2C_CHARDEV 38config I2C_CHARDEV
31 tristate "I2C device interface" 39 tristate "I2C device interface"
32 help 40 help