Commit 51a6c60b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Lee Jones

mfd: sun4i-gpadc: Select regmap-irq

The new sun4i mfd driver is lacking a dependency, triggering very rarely
int randconfig kernel builds:

drivers/mfd/sun4i-gpadc.o: In function `sun4i_gpadc_probe':
sun4i-gpadc.c:(.text.sun4i_gpadc_probe+0x110): undefined reference to `devm_regmap_add_irq_chip'

This adds a 'select REGMAP_IRQ', as the other drivers with this problem do.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent fdae7ba3
...@@ -44,6 +44,7 @@ config MFD_SUN4I_GPADC ...@@ -44,6 +44,7 @@ config MFD_SUN4I_GPADC
tristate "Allwinner sunxi platforms' GPADC MFD driver" tristate "Allwinner sunxi platforms' GPADC MFD driver"
select MFD_CORE select MFD_CORE
select REGMAP_MMIO select REGMAP_MMIO
select REGMAP_IRQ
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
help help
Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment