diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-03 02:06:42 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-18 16:30:40 -0500 |
commit | ad6b97fc929e5844bfd1d708ab1d74d131d7960d (patch) | |
tree | a612bab865a960c88dbff2f0f19ed22be779fa81 | |
parent | cead14da59fc261534fa749886c12c16757711fd (diff) |
[PATCH] iomap_copy fallout (m68k)
added __raw_writel(), sanitized include order in iomap_copy.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/asm-m68k/raw_io.h | 1 | ||||
-rw-r--r-- | lib/iomap_copy.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-m68k/raw_io.h b/include/asm-m68k/raw_io.h index 5439bcaa57c6..811ccd25d4a6 100644 --- a/include/asm-m68k/raw_io.h +++ b/include/asm-m68k/raw_io.h | |||
@@ -336,6 +336,7 @@ static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, | |||
336 | : "d0", "a0", "a1", "d6"); | 336 | : "d0", "a0", "a1", "d6"); |
337 | } | 337 | } |
338 | 338 | ||
339 | #define __raw_writel raw_outl | ||
339 | 340 | ||
340 | #endif /* __KERNEL__ */ | 341 | #endif /* __KERNEL__ */ |
341 | 342 | ||
diff --git a/lib/iomap_copy.c b/lib/iomap_copy.c index a6b1e271d53c..351045f4f63c 100644 --- a/lib/iomap_copy.c +++ b/lib/iomap_copy.c | |||
@@ -15,8 +15,8 @@ | |||
15 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | 15 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/io.h> | ||
19 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/io.h> | ||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * __iowrite32_copy - copy data to MMIO space, in 32-bit units | 22 | * __iowrite32_copy - copy data to MMIO space, in 32-bit units |