ARM: OMAP2+: Fix build error when only ARCH_OMAP2/3 or 4 is selected
authorTony Lindgren <tony@atomide.com>
Mon, 5 Mar 2012 21:47:28 +0000 (13:47 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Mar 2012 21:47:28 +0000 (13:47 -0800)
commit75a57fe9cb77e3d3062127cb72d18314f00674d1
treec90417c7653ffcd62257157445afa70a58125ffb
parent428f5ad80118a60a519dcea5ca24d27bae757ff9
ARM: OMAP2+: Fix build error when only ARCH_OMAP2/3 or 4 is selected

Otherwise we'll get undefined reference to `gic_of_init' or
undefined reference to `omap_intc_of_init'.

This was caused by commit fbf75da733e82bb17a01e1b907b0e40d9c028823
(ARM: OMAP2+: board-generic: Use of_irq_init API).

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c