]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
spi: update MSIOF includes
authorMagnus Damm <damm@opensource.se>
Wed, 20 Jan 2010 20:49:45 +0000 (13:49 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 20 Jan 2010 20:49:45 +0000 (13:49 -0700)
Update the MSIOF driver to remove the architecture
speficic spi header file and add err.h. This makes
the driver compile on non-SH architectures.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_sh_msiof.c

index 51e5e1dfa6e5229151e8217f139b613ed73b8794..3b5b1be570571b33ef4a72cd453c52aa32228aab 100644 (file)
 #include <linux/bitmap.h>
 #include <linux/clk.h>
 #include <linux/io.h>
+#include <linux/err.h>
 
 #include <linux/spi/spi.h>
 #include <linux/spi/spi_bitbang.h>
 #include <linux/spi/sh_msiof.h>
 
-#include <asm/spi.h>
 #include <asm/unaligned.h>
 
 struct sh_msiof_spi_priv {