diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-30 09:34:46 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-11-30 09:34:46 -0500 |
commit | 74af1c227cf17caff3bb8c6547858655a473a39b (patch) | |
tree | 6e22910078a7ca3828de3d40ac1d3e87853030d8 /include | |
parent | 96b13f5c074fab56797109aedacc2405544d6f95 (diff) |
[ARM] L7200: Remove deprecated __io_pci and __arch_(get|put)*
These functions have been deprecated for quite some time, and in
fact are no longer used. They just add to clutter. Remove them.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-l7200/io.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/asm-arm/arch-l7200/io.h b/include/asm-arm/arch-l7200/io.h index d744d97c18a5..fb9c6e1b48e0 100644 --- a/include/asm-arm/arch-l7200/io.h +++ b/include/asm-arm/arch-l7200/io.h | |||
@@ -17,35 +17,8 @@ | |||
17 | /* | 17 | /* |
18 | * There are not real ISA nor PCI buses, so we fake it. | 18 | * There are not real ISA nor PCI buses, so we fake it. |
19 | */ | 19 | */ |
20 | #define __io_pci(a) ((void __iomem *)(PCIO_BASE + (a))) | ||
21 | #define __mem_pci(a) (a) | 20 | #define __mem_pci(a) (a) |
22 | 21 | ||
23 | #define __ioaddr(p) __io_pci(p) | ||
24 | |||
25 | /* | ||
26 | * Generic virtual read/write | ||
27 | */ | ||
28 | #define __arch_getb(a) (*(volatile unsigned char *)(a)) | ||
29 | #define __arch_getl(a) (*(volatile unsigned int *)(a)) | ||
30 | |||
31 | static inline unsigned int __arch_getw(unsigned long a) | ||
32 | { | ||
33 | unsigned int value; | ||
34 | __asm__ __volatile__("ldrh %0, [%1, #0] @ getw" | ||
35 | : "=&r" (value) | ||
36 | : "r" (a) : "cc"); | ||
37 | return value; | ||
38 | } | ||
39 | |||
40 | #define __arch_putb(v,a) (*(volatile unsigned char *)(a) = (v)) | ||
41 | #define __arch_putl(v,a) (*(volatile unsigned int *)(a) = (v)) | ||
42 | |||
43 | static inline void __arch_putw(unsigned int value, unsigned long a) | ||
44 | { | ||
45 | __asm__ __volatile__("strh %0, [%1, #0] @ putw" | ||
46 | : : "r" (value), "r" (a) : "cc"); | ||
47 | } | ||
48 | |||
49 | /* | 22 | /* |
50 | * Translated address IO functions | 23 | * Translated address IO functions |
51 | * | 24 | * |