diff options
Diffstat (limited to 'include/asm-generic/iomap.h')
-rw-r--r-- | include/asm-generic/iomap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h index 4991543d44c8..cde592fca441 100644 --- a/include/asm-generic/iomap.h +++ b/include/asm-generic/iomap.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __GENERIC_IO_H | 2 | #define __GENERIC_IO_H |
3 | 3 | ||
4 | #include <linux/linkage.h> | 4 | #include <linux/linkage.h> |
5 | #include <asm/byteorder.h> | ||
5 | 6 | ||
6 | /* | 7 | /* |
7 | * These are the "generic" interfaces for doing new-style | 8 | * These are the "generic" interfaces for doing new-style |
@@ -26,11 +27,15 @@ | |||
26 | */ | 27 | */ |
27 | extern unsigned int fastcall ioread8(void __iomem *); | 28 | extern unsigned int fastcall ioread8(void __iomem *); |
28 | extern unsigned int fastcall ioread16(void __iomem *); | 29 | extern unsigned int fastcall ioread16(void __iomem *); |
30 | extern unsigned int fastcall ioread16be(void __iomem *); | ||
29 | extern unsigned int fastcall ioread32(void __iomem *); | 31 | extern unsigned int fastcall ioread32(void __iomem *); |
32 | extern unsigned int fastcall ioread32be(void __iomem *); | ||
30 | 33 | ||
31 | extern void fastcall iowrite8(u8, void __iomem *); | 34 | extern void fastcall iowrite8(u8, void __iomem *); |
32 | extern void fastcall iowrite16(u16, void __iomem *); | 35 | extern void fastcall iowrite16(u16, void __iomem *); |
36 | extern void fastcall iowrite16be(u16, void __iomem *); | ||
33 | extern void fastcall iowrite32(u32, void __iomem *); | 37 | extern void fastcall iowrite32(u32, void __iomem *); |
38 | extern void fastcall iowrite32be(u32, void __iomem *); | ||
34 | 39 | ||
35 | /* | 40 | /* |
36 | * "string" versions of the above. Note that they | 41 | * "string" versions of the above. Note that they |