Searched hist:"5 d190c40100793a6dfc37bf325677c10f3c80edf" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | io.c | diff 9f9605c2eda9679e6f63c605cbd9cbf6a9a7f3fa Fri Jan 07 05:57:44 CST 2011 Russell King <rmk+kernel@arm.linux.org.uk> omap2+: Fix unused variable warning for omap_irq_base
Commit 5d190c40100793a6dfc37bf325677c10f3c80edf (omap2+: Initialize omap_irq_base for entry-macro.S from platform code) simplified the handling of omap_irq_base for multi-omap builds. However, this patch also introduced a build warning for !MULTI_OMAP2 builds:
arch/arm/mach-omap2/io.c: In function 'omap_irq_base_init': arch/arm/mach-omap2/io.c:322: warning: unused variable 'omap_irq_base'
Fix this by removing the ifdef. Also simplify things further by moving omap_irq_base out of entry-macro.S.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [tony@atomide.com: updated comments] Signed-off-by: Tony Lindgren <tony@atomide.com> diff 5d190c40100793a6dfc37bf325677c10f3c80edf Thu Dec 09 17:49:23 CST 2010 Tony Lindgren <tony@atomide.com> omap2+: Initialize omap_irq_base for entry-macro.S from platform code
This way we can use the generic omap SoC detection code instead.
Signed-off-by: Tony Lindgren <tony@atomide.com>
|