]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 5439bcaa57c6476f39b24b61d66f52611e6873db..811ccd25d4a6dc9f9a6b7c5890f658f349ed46d4 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 a6b1e271d53c0f1a08388acb9f48c46a8c9fd27f..351045f4f63c162abd45c8cc4636cb737dc75770 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