Skip to content

Commit b7196ab

Browse files
computersforpeacetmlind
authored andcommitted
ARM: OMAP2+: drop unused function
gic_init_irq() is no longer used as of: commit b42b918 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: [email protected] Cc: [email protected] Signed-off-by: Tony Lindgren <[email protected]>
1 parent fe79755 commit b7196ab

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

arch/arm/mach-omap2/common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ static inline void __iomem *omap4_get_scu_base(void)
241241
}
242242
#endif
243243

244-
extern void __init gic_init_irq(void);
245244
extern void gic_dist_disable(void);
246245
extern void gic_dist_enable(void);
247246
extern bool gic_dist_disabled(void);

arch/arm/mach-omap2/omap4-common.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,6 @@ void __init omap_barriers_init(void)
102102
{}
103103
#endif
104104

105-
void __init gic_init_irq(void)
106-
{
107-
void __iomem *omap_irq_base;
108-
109-
/* Static mapping, never released */
110-
gic_dist_base_addr = ioremap(OMAP44XX_GIC_DIST_BASE, SZ_4K);
111-
BUG_ON(!gic_dist_base_addr);
112-
113-
twd_base = ioremap(OMAP44XX_LOCAL_TWD_BASE, SZ_4K);
114-
BUG_ON(!twd_base);
115-
116-
/* Static mapping, never released */
117-
omap_irq_base = ioremap(OMAP44XX_GIC_CPU_BASE, SZ_512);
118-
BUG_ON(!omap_irq_base);
119-
120-
omap_wakeupgen_init();
121-
122-
gic_init(0, 29, gic_dist_base_addr, omap_irq_base);
123-
}
124-
125105
void gic_dist_disable(void)
126106
{
127107
if (gic_dist_base_addr)

0 commit comments

Comments
 (0)