CSR SiRFSoC PRIMA2: SPI compilation broken in 3.4-rc7

Linus Walleij linus.walleij at linaro.org
Mon May 14 08:27:15 EDT 2012


On Mon, May 14, 2012 at 1:14 PM, Guennadi Liakhovetski
<g.liakhovetski at gmx.de> wrote:

> Might be good to try to fix for 3.4 release:
>
> drivers/spi/spi-sirf.c: In function 'spi_sirfsoc_probe':
> drivers/spi/spi-sirf.c:563: error: implicit declaration of function 'pinmux_get'
> drivers/spi/spi-sirf.c:563: warning: assignment makes pointer from integer without a cast
> drivers/spi/spi-sirf.c:568: error: implicit declaration of function 'pinmux_enable'
> drivers/spi/spi-sirf.c:602: error: implicit declaration of function 'pinmux_disable'
> drivers/spi/spi-sirf.c:603: error: implicit declaration of function 'pinmux_put'
> make[3]: *** [drivers/spi/spi-sirf.o] Error 1

How are you producing this?

config SPI_SIRF
        tristate "CSR SiRFprimaII SPI controller"
        depends on ARCH_PRIMA2

So must be on ARCH_PRIMA2, but:

grep -r PRIMA2 arch/arm/configs/

So no defconfig can be used to compile this.

If I could just reproduce it, I could fix it...

Barry pls submit a defconfig for the PRIMA2 so we can
compile it and test for regressions.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list