SPI: PRIMA2: use the newest APIs of PINCTRL to fix compiling errors
authorBarry Song <Baohua.Song@csr.com>
Tue, 15 May 2012 02:21:00 +0000 (10:21 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 20 May 2012 05:17:31 +0000 (23:17 -0600)
commit71422f9e68d43f3fbc6c8939ca8d1b80aa2e4d1a
treedf8ba1f5bebf272ea14cdbb01924aaeb65c93525
parent067aa4815a9bc12a569d8a06afef50ba5773afbf
SPI: PRIMA2: use the newest APIs of PINCTRL to fix compiling errors

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@csr.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-sirf.c