This patch add missing REGMAP_I2C/REGMAP_IRQ dependency on extcon provider
driver to protect build break.

Signed-off-by: Chanwoo Choi <[email protected]>
---
 drivers/extcon/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 6f2f472..77577db 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -23,6 +23,7 @@ config EXTCON_ADC_JACK
 config EXTCON_ARIZONA
        tristate "Wolfson Arizona EXTCON support"
        depends on MFD_ARIZONA && INPUT && SND_SOC
+       select REGMAP_I2C
        help
          Say Y here to enable support for external accessory detection
          with Wolfson Arizona devices. These are audio CODECs with
@@ -40,6 +41,7 @@ config EXTCON_MAX14577
        depends on MFD_MAX14577
        select IRQ_DOMAIN
        select REGMAP_I2C
+       select REGMAP_IRQ
        help
          If you say yes here you get support for the MUIC device of
          Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory
@@ -50,6 +52,7 @@ config EXTCON_MAX77693
        depends on MFD_MAX77693 && INPUT
        select IRQ_DOMAIN
        select REGMAP_I2C
+       select REGMAP_IRQ
        help
          If you say yes here you get support for the MUIC device of
          Maxim MAX77693 PMIC. The MAX77693 MUIC is a USB port accessory
@@ -66,6 +69,7 @@ config EXTCON_MAX8997
 config EXTCON_PALMAS
        tristate "Palmas USB EXTCON support"
        depends on MFD_PALMAS
+       select REGMAP_IRQ
        help
          Say Y here to enable support for USB peripheral and USB host
          detection by palmas usb.
-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to