[PATCH] SPI: PRIMA2: use the newest APIs of PINCTRL to fix compiling errors
Linus Walleij
linus.walleij at linaro.org
Tue May 15 04:02:01 EDT 2012
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...
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list