Re: [PATCH 3/3] bus: hisi_lpc: Expand build test coverage

From: Arnd Bergmann
Date: Wed Oct 02 2019 - 11:44:04 EST


On Tue, Oct 1, 2019 at 6:07 PM John Garry <john.garry@xxxxxxxxxx> wrote:
>
> Currently the driver will only ever be built for ARM64 because it selects
> CONFIG_INDIRECT_PIO, which itself depends on ARM64.
>
> Expand build test coverage for the driver to other architectures by only
> selecting CONFIG_INDIRECT_PIO for ARM64, when we really want it.
>
> Signed-off-by: John Garry <john.garry@xxxxxxxxxx>

Good idea, but doesn't this cause a link failure against
logic_pio_register_range() when INDIRECT_PIO is disabled?

Arnd