diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-07-23 13:32:58 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-24 18:55:56 -0400 |
commit | 78948c17a47cc56cb10667f59036b6a703147161 (patch) | |
tree | d8005b22a02df2da2343b30840dfc84131de8ff7 /drivers/mfd | |
parent | 508c829994446fcb5d93cbc910bb45378ab28050 (diff) |
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 12c693b9c2fe..ff3b77dabf77 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -523,6 +523,7 @@ config MFD_SEC_CORE | |||
523 | 523 | ||
524 | config MFD_ARIZONA | 524 | config MFD_ARIZONA |
525 | select REGMAP | 525 | select REGMAP |
526 | select REGMAP_IRQ | ||
526 | bool | 527 | bool |
527 | 528 | ||
528 | config MFD_ARIZONA_I2C | 529 | config MFD_ARIZONA_I2C |