From: Barry Song Date: Tue, 15 May 2012 02:21:00 +0000 (+0800) Subject: SPI: PRIMA2: use the newest APIs of PINCTRL to fix compiling errors X-Git-Tag: v3.5-rc1~95^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71422f9e68d43f3fbc6c8939ca8d1b80aa2e4d1a;p=pandora-kernel.git 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 Cc: Guennadi Liakhovetski Acked-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed