Skip to content

Commit 24dc13f

Browse files
geertuwsakernel
authored andcommitted
i2c: Make I2C_ATR invisible
I2C Address Translator (ATR) support is not a stand-alone driver, but a library. All of its users select I2C_ATR. Hence there is no need for the user to enable this symbol manually, except when compile-testing. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 5eb1e6e commit 24dc13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ config I2C_MUX
7272
source "drivers/i2c/muxes/Kconfig"
7373

7474
config I2C_ATR
75-
tristate "I2C Address Translator (ATR) support"
75+
tristate "I2C Address Translator (ATR) support" if COMPILE_TEST
7676
help
7777
Enable support for I2C Address Translator (ATR) chips.
7878

0 commit comments

Comments
 (0)