Skip to content

Commit

Permalink
mfd: Fix arizona-irq.c build by selecting REGMAP_IRQ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Samuel Ortiz committed Jul 24, 2012
1 parent 508c829 commit 78948c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ config MFD_SEC_CORE

config MFD_ARIZONA
select REGMAP
select REGMAP_IRQ
bool

config MFD_ARIZONA_I2C
Expand Down

0 comments on commit 78948c1

Please sign in to comment.