Re: [PATCH -next] mfd: fix arizona-irq.c build by selectingREGMAP_IRQ

From: Samuel Ortiz
Date: Tue Jul 24 2012 - 18:56:14 EST


Hi Randy,

On Mon, Jul 23, 2012 at 10:32:58AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/