summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/io.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-09-14 06:55:36 +0200
committerStephen Rothwell <sfr@canb.auug.org.au>2006-09-20 06:12:22 +0200
commit19e59df4dc2e6f7b46190ee77ce7093769f597a7 (patch)
tree97860ac68308a91515fbdc1699d26a09aa9a0d10 /include/asm-powerpc/io.h
parent[POWERPC] convert string i/o operations to C (diff)
downloadlinux-19e59df4dc2e6f7b46190ee77ce7093769f597a7.tar.xz
linux-19e59df4dc2e6f7b46190ee77ce7093769f597a7.zip
[POWERPC] iseries: eliminate a couple of warnings
Copy and paste bug in io.h Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-powerpc/io.h')
-rw-r--r--include/asm-powerpc/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h
index 57e7d14d6563..174fb89d5eda 100644
--- a/include/asm-powerpc/io.h
+++ b/include/asm-powerpc/io.h
@@ -68,8 +68,8 @@ extern unsigned long pci_io_base;
* for older code.
*/
#define insb(port, buf, ns) _insb((u8 __iomem *)((port)+pci_io_base), (buf), (ns))
-#define insw(port, buf, ns) _insw_ns((u8 __iomem *)((port)+pci_io_base), (buf), (ns))
-#define insl(port, buf, nl) _insl_ns((u8 __iomem *)((port)+pci_io_base), (buf), (nl))
+#define insw(port, buf, ns) _insw_ns((u16 __iomem *)((port)+pci_io_base), (buf), (ns))
+#define insl(port, buf, nl) _insl_ns((u32 __iomem *)((port)+pci_io_base), (buf), (nl))
#else