mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 23 Jul 2012 17:32:58 +0000 (10:32 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Jul 2012 22:55:56 +0000 (00:55 +0200)
commit78948c17a47cc56cb10667f59036b6a703147161
treed8005b22a02df2da2343b30840dfc84131de8ff7
parent508c829994446fcb5d93cbc910bb45378ab28050
mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ

arizona-irq.c uses functions that are only available when
CONFIG_REGMAP_IRQ is enabled, so select that symbol for
arizona builds.

Fixes these build errors:

arizona-irq.c:(.text+0xb2d47): undefined reference to `regmap_irq_get_virq'
(.text+0xb2fe3): undefined reference to `regmap_add_irq_chip'
(.text+0xb3173): undefined reference to `regmap_del_irq_chip'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig