[PATCH 6/9] ARM: dts: pxa3xx: move declaration to header
Arnd Bergmann
arnd at arndb.de
Sun Dec 8 20:13:27 EST 2013
On Sunday 08 December 2013, Sergei Ianovich wrote:
> +#ifdef CONFIG_OF
> +extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int));
> +#endif /* CONFIG_OF */
> +
In general, don't put declarations like this into #ifdef, unless you need
an #else clause like
static inline void pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int) {}
Same in patch 8.
Arnd
More information about the linux-arm-kernel
mailing list