Re: [PATCH] openrisc: irq: use irqchip framework

From: Jonas Bonn
Date: Tue May 20 2014 - 02:45:52 EST


On 05/19/2014 09:54 PM, Stefan Kristiansson wrote:
> On Mon, May 19, 2014 at 04:44:57PM +0200, Jonas Bonn wrote:
>
>> ii) Put a Depends on CONFIG_ARCH_OPENRISC in the Kconfig
>
> Hmm, do we really need that?
> The irqchip driver will picked by 'select'ing it from arch/openrisc/Kconfig
> So, it won't really be exposed to anyone not explicitly picking it like that.
>

It will be exposed by allyesconfig. The driver uses mfspr which is
openrisc-only, so the driver really needs to hide behind an
openrisc-arch config option.

/Jonas
--
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/