[PATCH] SPI: PRIMA2: use the newest APIs of PINCTRL to fix compiling errors

Grant Likely grant.likely at secretlab.ca
Sun May 20 01:17:47 EDT 2012


On Tue, 15 May 2012 10:02:01 +0200, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Tue, May 15, 2012 at 4:21 AM, Barry Song <Barry.Song at csr.com> wrote:
> 
> > From: Barry Song <Baohua.Song at csr.com>
> >
> > Fix the compiling errors:
> > 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
> >
> > Signed-off-by: Barry Song <Baohua.Song at csr.com>
> > Cc: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> > Cc: Linus Walleij <linus.walleij at linaro.org>
> 
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> 
> Counting on Grant to pick this up...

Applied, thanks.

g.




More information about the linux-arm-kernel mailing list