[PATCH] iomap_copy fallout (m68k)
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Feb 2006 07:06:42 +0000 (02:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Feb 2006 21:30:40 +0000 (16:30 -0500)
added __raw_writel(), sanitized include order in iomap_copy.c

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/asm-m68k/raw_io.h
lib/iomap_copy.c

index 5439bca..811ccd2 100644 (file)
@@ -336,6 +336,7 @@ static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf,
                : "d0", "a0", "a1", "d6");
 }
 
+#define __raw_writel raw_outl
 
 #endif /* __KERNEL__ */
 
index a6b1e27..351045f 100644 (file)
@@ -15,8 +15,8 @@
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#include <linux/io.h>
 #include <linux/module.h>
+#include <linux/io.h>
 
 /**
  * __iowrite32_copy - copy data to MMIO space, in 32-bit units