Thread (28 messages) 28 messages, 6 authors, 2016-07-22

Re: [PATCH 4/6] irqchip: add irqchip driver for nuc900

From: Wan ZongShun <hidden>
Date: 2016-07-22 02:37:33
Also in: linux-arm-kernel, lkml

quoted
but I will remove the Macros related to nuc970 and avoid nuc970
interrupt using those Macro.

But I still need hack this irqs.h like below, since here NR_IRQS defined
and it is need for nuc970 irqchip driver.

#if !defined(CONFIG_SOC_NUC900)
#define NR_IRQS         (IRQ_ADC+1)
#else
#define NR_IRQS         62
#endif
Have you considered using CONFIG_SPARSE_IRQ? That would avoid the need
for setting NR_IRQS entirely, but may also require more work elsewhere.
Sure, I will refer to your previous nuc900 series patches for SPARSE
IRQ, now I am waiting for rc1 release, and will send v3 patches.
        Arnd


-- 
---
Vincent Wan(Zongshun)
www.mcuos.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help