* [PATCH] ARM: OMAP2+: drop unused function
@ 2014-06-10 21:26 Brian Norris
2014-06-16 12:07 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Brian Norris @ 2014-06-10 21:26 UTC (permalink / raw)
To: Tony Lindgren; +Cc: Brian Norris, linux-arm-kernel, linux-omap
gic_init_irq() is no longer used as of:
commit b42b918194c4791510ac049e3d507169a7de8544
Author: Tony Lindgren <tony@atomide.com>
Date: Thu May 30 12:53:05 2013 -0700
ARM: OMAP2+: Remove board-omap4panda.c
Drop it.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org
---
arch/arm/mach-omap2/common.h | 1 -
arch/arm/mach-omap2/omap4-common.c | 20 --------------------
2 files changed, 21 deletions(-)
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index ff029737c8f0..51f6897418b7 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -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);
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 326cd982a3cb..539e8106eb96 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -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)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP2+: drop unused function
2014-06-10 21:26 [PATCH] ARM: OMAP2+: drop unused function Brian Norris
@ 2014-06-16 12:07 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2014-06-16 12:07 UTC (permalink / raw)
To: Brian Norris; +Cc: linux-arm-kernel, linux-omap
* Brian Norris <computersforpeace@gmail.com> [140610 14:31]:
> gic_init_irq() is no longer used as of:
>
> commit b42b918194c4791510ac049e3d507169a7de8544
> Author: Tony Lindgren <tony@atomide.com>
> Date: Thu May 30 12:53:05 2013 -0700
>
> ARM: OMAP2+: Remove board-omap4panda.c
>
> Drop it.
>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Applying into omap-for-v3.16/fixes thanks.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-16 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 21:26 [PATCH] ARM: OMAP2+: drop unused function Brian Norris
2014-06-16 12:07 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).