]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/i2c/algos/Kconfig
i2c: Fix Kconfig dependencies
[~shefty/rdma-dev.git] / drivers / i2c / algos / Kconfig
index 7b2ce4a085247fa3f123e9e527b4b0718db0a215..3998dd620a032586970a60f556aa6292318ce84a 100644 (file)
@@ -15,3 +15,15 @@ config I2C_ALGOPCA
        tristate "I2C PCA 9564 interfaces"
 
 endmenu
+
+# In automatic configuration mode, we still have to define the
+# symbols to avoid unmet dependencies.
+
+if I2C_HELPER_AUTO
+config I2C_ALGOBIT
+       tristate
+config I2C_ALGOPCF
+       tristate
+config I2C_ALGOPCA
+       tristate
+endif