* [PATCH 1/1] irqchip: exynos: Remove hardcoded irqbase
@ 2013-10-17 11:04 Sachin Kamat
2013-10-17 17:55 ` Tomasz Figa
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2013-10-17 11:04 UTC (permalink / raw)
To: linux-arm-kernel
Now that Exynos platforms are DT only, hard-coded irqbase is not
necessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/irqchip/exynos-combiner.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c
index 868ed40..08538df 100644
--- a/drivers/irqchip/exynos-combiner.c
+++ b/drivers/irqchip/exynos-combiner.c
@@ -207,7 +207,7 @@ static int __init combiner_of_init(struct device_node *np,
{
void __iomem *combiner_base;
unsigned int max_nr = 20;
- int irq_base = -1;
+ int irq_base = 0;
combiner_base = of_iomap(np, 0);
if (!combiner_base) {
@@ -221,13 +221,6 @@ static int __init combiner_of_init(struct device_node *np,
__func__, max_nr);
}
- /*
- * FIXME: This is a hardwired COMBINER_IRQ(0,0). Once all devices
- * get their IRQ from DT, remove this in order to get dynamic
- * allocation.
- */
- irq_base = 160;
-
combiner_init(combiner_base, np, max_nr, irq_base);
return 0;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-17 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 11:04 [PATCH 1/1] irqchip: exynos: Remove hardcoded irqbase Sachin Kamat
2013-10-17 17:55 ` Tomasz Figa
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).