diff options
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/io.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index b744baf9e206..bfb639f9e420 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h | |||
@@ -321,12 +321,12 @@ __do_out_asm(outl, "stwbrx") | |||
321 | #define inl_p(port) inl((port)) | 321 | #define inl_p(port) inl((port)) |
322 | #define outl_p(val, port) outl((val), (port)) | 322 | #define outl_p(val, port) outl((val), (port)) |
323 | 323 | ||
324 | extern void _insb(volatile u8 __iomem *port, void *buf, long count); | 324 | extern void _insb(const volatile u8 __iomem *addr, void *buf, long count); |
325 | extern void _outsb(volatile u8 __iomem *port, const void *buf, long count); | 325 | extern void _outsb(volatile u8 __iomem *addr,const void *buf,long count); |
326 | extern void _insw_ns(volatile u16 __iomem *port, void *buf, long count); | 326 | extern void _insw_ns(const volatile u16 __iomem *addr, void *buf, long count); |
327 | extern void _outsw_ns(volatile u16 __iomem *port, const void *buf, long count); | 327 | extern void _outsw_ns(volatile u16 __iomem *addr, const void *buf, long count); |
328 | extern void _insl_ns(volatile u32 __iomem *port, void *buf, long count); | 328 | extern void _insl_ns(const volatile u32 __iomem *addr, void *buf, long count); |
329 | extern void _outsl_ns(volatile u32 __iomem *port, const void *buf, long count); | 329 | extern void _outsl_ns(volatile u32 __iomem *addr, const void *buf, long count); |
330 | 330 | ||
331 | 331 | ||
332 | #define IO_SPACE_LIMIT ~0 | 332 | #define IO_SPACE_LIMIT ~0 |