mfd: Build rtc5t583 only if I2C config is selected to y.
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / Kconfig
index a5f41766dc3e969ae080e6af6605cd358b8e124a..ef22292aa0cdf80ba314351b2159f18e9adec354 100644 (file)
@@ -848,7 +848,7 @@ config MFD_INTEL_MSIC
 
 config MFD_RC5T583
        bool "Ricoh RC5T583 Power Management system device"
-       depends on I2C && GENERIC_HARDIRQS
+       depends on I2C=y && GENERIC_HARDIRQS
        select MFD_CORE
        select REGMAP_I2C
        help