i2c: Only include slave support if selected
[cascardo/linux.git] / drivers / i2c / busses / Kconfig
index c1351d9..ab838d9 100644 (file)
@@ -753,6 +753,7 @@ config I2C_SH7760
 
 config I2C_SH_MOBILE
        tristate "SuperH Mobile I2C Controller"
+       depends on HAS_DMA
        depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
        help
          If you say yes to this option, support will be included for the
@@ -880,6 +881,7 @@ config I2C_XLR
 config I2C_RCAR
        tristate "Renesas R-Car I2C Controller"
        depends on ARCH_SHMOBILE || COMPILE_TEST
+       select I2C_SLAVE
        help
          If you say yes to this option, support will be included for the
          R-Car I2C controller.
@@ -1072,4 +1074,15 @@ config SCx200_ACB
          This support is also available as a module.  If so, the module
          will be called scx200_acb.
 
+config I2C_OPAL
+       tristate "IBM OPAL I2C driver"
+       depends on PPC_POWERNV
+       default y
+       help
+         This exposes the PowerNV platform i2c busses to the linux i2c layer,
+         the driver is based on the OPAL interfaces.
+
+         This driver can also be built as a module. If so, the module will be
+         called as i2c-opal.
+
 endmenu