mfd: rt5033: MFD_RT5033 needs to select REGMAP_IRQ
authorArtem Savkov <asavkov@redhat.com>
Thu, 5 Mar 2015 11:42:27 +0000 (12:42 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 12 Mar 2015 09:06:54 +0000 (09:06 +0000)
Since commit 0b2712585(linux-next.git) this driver uses regmap_irq and so needs
to select REGMAP_IRQ.

This fixes the following compilation errors:
ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined!
ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined!

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index f8ef77d..f49f404 100644 (file)
@@ -680,6 +680,7 @@ config MFD_RT5033
        depends on I2C=y
        select MFD_CORE
        select REGMAP_I2C
+       select REGMAP_IRQ
        help
          This driver provides for the Richtek RT5033 Power Management IC,
          which includes the I2C driver and the Core APIs. This driver provides