CSR SiRFSoC PRIMA2: SPI compilation broken in 3.4-rc7

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon May 14 08:38:29 EDT 2012


On Mon, 14 May 2012, Linus Walleij wrote:

> 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.

Yeah, just do "make ARCH=arm menuconfig" (or whatever *config you use) and 
select PRIMA2, then this SPI driver - nothing super fancy:-) I've sent you 
my .config off-list.

Thanks
Guennadi

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

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/



More information about the linux-arm-kernel mailing list