diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-09-19 00:51:40 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-09-20 00:06:17 -0400 |
commit | fa053d2f008cb73fa768b8e171486d8c0b33312b (patch) | |
tree | 007b3e058e9b065f7a38bd26bc7498802bf68940 /include/asm-ppc | |
parent | 9ca91e0fb5295e8317030feb889085e452cedab1 (diff) |
[POWERPC] remove unused io accessors
The io accessors insw_ns, outsw_ns, insl_ns and outsl_ns are unused
(except for one unnecessary use in drivers/net/3c509.c that is addressed
in a previous patch) and are only defined in powerpc/ppc, so remove them.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/io.h | 10 | ||||
-rw-r--r-- | include/asm-ppc/mpc8260_pci9.h | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index 680555be22ec..fb0a8fcc51cf 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h | |||
@@ -338,16 +338,6 @@ extern void _outsw_ns(volatile u16 __iomem *port, const void *buf, int ns); | |||
338 | extern void _insl_ns(volatile u32 __iomem *port, void *buf, int nl); | 338 | extern void _insl_ns(volatile u32 __iomem *port, void *buf, int nl); |
339 | extern void _outsl_ns(volatile u32 __iomem *port, const void *buf, int nl); | 339 | extern void _outsl_ns(volatile u32 __iomem *port, const void *buf, int nl); |
340 | 340 | ||
341 | /* | ||
342 | * The *_ns versions below don't do byte-swapping. | ||
343 | * Neither do the standard versions now, these are just here | ||
344 | * for older code. | ||
345 | */ | ||
346 | #define insw_ns(port, buf, ns) _insw_ns((port)+___IO_BASE, (buf), (ns)) | ||
347 | #define outsw_ns(port, buf, ns) _outsw_ns((port)+___IO_BASE, (buf), (ns)) | ||
348 | #define insl_ns(port, buf, nl) _insl_ns((port)+___IO_BASE, (buf), (nl)) | ||
349 | #define outsl_ns(port, buf, nl) _outsl_ns((port)+___IO_BASE, (buf), (nl)) | ||
350 | |||
351 | 341 | ||
352 | #define IO_SPACE_LIMIT ~0 | 342 | #define IO_SPACE_LIMIT ~0 |
353 | 343 | ||
diff --git a/include/asm-ppc/mpc8260_pci9.h b/include/asm-ppc/mpc8260_pci9.h index 26b3f6e787bc..9f7176881c56 100644 --- a/include/asm-ppc/mpc8260_pci9.h +++ b/include/asm-ppc/mpc8260_pci9.h | |||
@@ -30,8 +30,6 @@ | |||
30 | #undef inb | 30 | #undef inb |
31 | #undef inw | 31 | #undef inw |
32 | #undef inl | 32 | #undef inl |
33 | #undef insw_ns | ||
34 | #undef insl_ns | ||
35 | #undef memcpy_fromio | 33 | #undef memcpy_fromio |
36 | 34 | ||
37 | extern int readb(volatile unsigned char *addr); | 35 | extern int readb(volatile unsigned char *addr); |
@@ -43,8 +41,6 @@ extern void insl(unsigned port, void *buf, int nl); | |||
43 | extern int inb(unsigned port); | 41 | extern int inb(unsigned port); |
44 | extern int inw(unsigned port); | 42 | extern int inw(unsigned port); |
45 | extern unsigned inl(unsigned port); | 43 | extern unsigned inl(unsigned port); |
46 | extern void insw_ns(unsigned port, void *buf, int ns); | ||
47 | extern void insl_ns(unsigned port, void *buf, int nl); | ||
48 | extern void *memcpy_fromio(void *dest, unsigned long src, size_t count); | 44 | extern void *memcpy_fromio(void *dest, unsigned long src, size_t count); |
49 | 45 | ||
50 | #endif /* !__CONFIG_8260_PCI9_DEFS */ | 46 | #endif /* !__CONFIG_8260_PCI9_DEFS */ |