Re: [PATCH 2/3] of: OF_IRQ should depend on IRQ_DOMAIN

From: Arnd Bergmann
Date: Mon Apr 06 2015 - 17:39:45 EST


On Monday 06 April 2015 17:26:57 Geert Uytterhoeven wrote:
> Given drivers/base/platform.c:
>
> int platform_get_irq(struct platform_device *dev, unsigned int num)
> {
> #ifdef CONFIG_SPARC
> ...
> #else
> struct resource *r;
> if (IS_ENABLED(CONFIG_OF_IRQ) && dev->dev.of_node) {
> ...
> }
> ...
> #endif
> }
>
> yes I do want to keep it explicit.
>

Ok, makes sense, thanks!

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/