Skip to contentSkip to conversation

spi: update MSIOF includes

PATCH New Magnus Damm 1 participant 1 message Jan 19, 2010 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: update MSIOF includes

From: Magnus Damm <[email protected]>

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.

---

 drivers/spi/spi_sh_msiof.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi_sh_msiof.c +1 -1
@@ -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 {

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev