diff options
| -rw-r--r-- | include/asm-generic/io.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 616eea53d633..063ce7640910 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h | |||
| @@ -216,36 +216,6 @@ static inline void outsl(unsigned long addr, const void *buffer, int count) | |||
| 216 | } | 216 | } |
| 217 | #endif | 217 | #endif |
| 218 | 218 | ||
| 219 | static inline void readsl(const void __iomem *addr, void *buf, int len) | ||
| 220 | { | ||
| 221 | insl(addr - PCI_IOBASE, buf, len); | ||
| 222 | } | ||
| 223 | |||
| 224 | static inline void readsw(const void __iomem *addr, void *buf, int len) | ||
| 225 | { | ||
| 226 | insw(addr - PCI_IOBASE, buf, len); | ||
| 227 | } | ||
| 228 | |||
| 229 | static inline void readsb(const void __iomem *addr, void *buf, int len) | ||
| 230 | { | ||
| 231 | insb(addr - PCI_IOBASE, buf, len); | ||
| 232 | } | ||
| 233 | |||
| 234 | static inline void writesl(const void __iomem *addr, const void *buf, int len) | ||
| 235 | { | ||
| 236 | outsl(addr - PCI_IOBASE, buf, len); | ||
| 237 | } | ||
| 238 | |||
| 239 | static inline void writesw(const void __iomem *addr, const void *buf, int len) | ||
| 240 | { | ||
| 241 | outsw(addr - PCI_IOBASE, buf, len); | ||
| 242 | } | ||
| 243 | |||
| 244 | static inline void writesb(const void __iomem *addr, const void *buf, int len) | ||
| 245 | { | ||
| 246 | outsb(addr - PCI_IOBASE, buf, len); | ||
| 247 | } | ||
| 248 | |||
| 249 | #ifndef CONFIG_GENERIC_IOMAP | 219 | #ifndef CONFIG_GENERIC_IOMAP |
| 250 | #define ioread8(addr) readb(addr) | 220 | #define ioread8(addr) readb(addr) |
| 251 | #define ioread16(addr) readw(addr) | 221 | #define ioread16(addr) readw(addr) |
