Re: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing

From: Arnd Bergmann
Date: Mon Aug 07 2017 - 07:36:14 EST


On Mon, Aug 7, 2017 at 1:20 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Mon, Aug 07, 2017 at 12:40:44PM +0200, Arnd Bergmann wrote:
>> When the audio driver selects CONFIG_PXA_SSP to be a loadable
>> module on a platform other than PXA, and the PXA SPI driver
>> is built-in, we get a link error in the SPI driver:
>
> Why doesn't this cause problems on PXA?

On PXA, we 'make' descends into arch/arm/plat-pxa/, where ssp.o
is located. On other ARM platforms (I guess except for MMP),
PLAT_PXA is not set, and on non-ARM architectures, we can't
get there anyway.

Arnd