From: Richard Röjfors Date: Fri, 13 Nov 2009 11:28:49 +0000 (+0100) Subject: xilinx_spi: Switch to iomem functions and support little endian. X-Git-Tag: v2.6.33-rc1~279^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86fc593599c11b62a11c85b4d7b709089df15c29;p=pandora-kernel.git xilinx_spi: Switch to iomem functions and support little endian. This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to 32 bits ioread/iowrite. The read and write function are attached to the internal struct as callbacks, callback is selected depending on endianess. This will also build on platforms not supporting the in/out calls for instance x86. Acked-by: Grant Likely Tested-by: John Linn Signed-off-by: Richard Röjfors Signed-off-by: Grant Likely --- Reading git-diff-tree failed