ARM: OMAP2+: drop unused function
Subsystems (3)
PATCH 1/1 ARM: OMAP2+: drop unused function
gic_init_irq() is no longer used as of:
commit b42b918194c4791510ac049e3d507169a7de8544
Author: Tony Lindgren <[email protected]>
Date: Thu May 30 12:53:05 2013 -0700
ARM: OMAP2+: Remove board-omap4panda.c
Drop it.
Signed-off-by Brian Norris <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-omap at vger.kernel.org
--- arch/arm/mach-omap2/common.h | 1 - arch/arm/mach-omap2/omap4-common.c | 20 -------------------- 2 files changed, 21 deletions(-)
arch/arm/mach-omap2/common.h +0 -1
@@ -241,7 +241,6 @@ static inline void __iomem *omap4_get_scu_base(void) }#endif -extern void __init gic_init_irq (void );extern void gic_dist_disable (void );extern void gic_dist_enable (void );extern bool gic_dist_disabled (void );
arch/arm/mach-omap2/omap4-common.c +0 -20
@@ -102,26 +102,6 @@ void __init omap_barriers_init(void) {}#endif -void __init gic_init_irq (void ) -{ -void __iomem *omap_irq_base; - -/* Static mapping, never released */ - gic_dist_base_addr =ioremap (OMAP44XX_GIC_DIST_BASE ,SZ_4K ); -BUG_ON (!gic_dist_base_addr); - - twd_base =ioremap (OMAP44XX_LOCAL_TWD_BASE ,SZ_4K ); -BUG_ON (!twd_base); - -/* Static mapping, never released */ - omap_irq_base =ioremap (OMAP44XX_GIC_CPU_BASE ,SZ_512 ); -BUG_ON (!omap_irq_base); - -omap_wakeupgen_init (); - -gic_init (0 ,29 , gic_dist_base_addr, omap_irq_base); -} -void gic_dist_disable (void ) {if (gic_dist_base_addr)
Signature · 1 line
1.9.1
Tony Lindgren
maintainerPATCH 1/1 ARM: OMAP2+: drop unused function
Quoted 11 lines · Brian Norris
gic_init_irq()is no longer used as of:commit
b42b918194c4791510ac049e3d507169a7de8544
Author: Tony Lindgren <[email protected]>
Date: Thu May 30 12:53:05 2013 -0700ARM: OMAP2+: Remove
board-omap4panda.cDrop it.
Signed-off-by Brian Norris <[email protected]>
Applying into omap-for-v3.16/fixes thanks.
Tony