Re: [PATCH v2 8/8] staging: fsl-mc: allow the driver compile multi-arch

From: Arnd Bergmann
Date: Tue Jul 18 2017 - 10:39:11 EST


On Tue, Jul 18, 2017 at 4:36 PM, Laurentiu Tudor
<laurentiu.tudor@xxxxxxx> wrote:

> Good point, I'll take care of it. But don't you mean COMPILE_TEST be
> added on the actual MC_BUS config, like so:
>
> config FSL_MC_BUS
> bool "QorIQ DPAA2 fsl-mc bus driver"
> - depends on OF && ARCH_LAYERSCAPE
> + depends on OF && (ARCH_LAYERSCAPE || COMPILE_TEST)
> select GENERIC_MSI_IRQ_DOMAIN
> ?
>
> The other drivers that depend on the MC_BUS won't compile on other
> architectures.

I was thinking of adding it to all three, but you are right we only needed
it for the bus.

Arnd