summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_sh_msiof.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-01-20 21:49:45 +0100
committerGrant Likely <grant.likely@secretlab.ca>2010-01-20 21:49:45 +0100
commitac48eee064f743a198cb38e5a6a62c3f1082ebc1 (patch)
tree59b3ef312bb0dc157fb99f1fc11638b31cd3faba /drivers/spi/spi_sh_msiof.c
parentspi/dw_spi: refine the IRQ mode working flow (diff)
downloadlinux-ac48eee064f743a198cb38e5a6a62c3f1082ebc1.tar.xz
linux-ac48eee064f743a198cb38e5a6a62c3f1082ebc1.zip
spi: update MSIOF includes
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>
Diffstat (limited to 'drivers/spi/spi_sh_msiof.c')
-rw-r--r--drivers/spi/spi_sh_msiof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_sh_msiof.c b/drivers/spi/spi_sh_msiof.c
index 51e5e1dfa6e5..3b5b1be57057 100644
--- a/drivers/spi/spi_sh_msiof.c
+++ b/drivers/spi/spi_sh_msiof.c
@@ -20,12 +20,12 @@
#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 {