summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/include/mach/io.h
diff options
context:
space:
mode:
authorRussell King2011-07-07 12:07:36 +0200
committerRussell King2011-08-17 09:44:16 +0200
commit06cf0b5468f204754f32e571f8415b20cedbe5f0 (patch)
treeb876f9bcdada5de5ab7a5aa958fd8308d8a6f881 /arch/arm/mach-rpc/include/mach/io.h
parentARM: io: ecard: move ioaddr() inside __ecard_address (diff)
downloadkernel-qcow2-linux-06cf0b5468f204754f32e571f8415b20cedbe5f0.tar.gz
kernel-qcow2-linux-06cf0b5468f204754f32e571f8415b20cedbe5f0.tar.xz
kernel-qcow2-linux-06cf0b5468f204754f32e571f8415b20cedbe5f0.zip
ARM: io: ecard: remove ioaddr() from ecard.c
Remove ioaddr() usage from ecard.c, updating (and renaming) the constants in RiscPC's hardware.h to contain the proper translation. As this gets rid of the last ioaddr() usage, kill that too. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-rpc/include/mach/io.h')
-rw-r--r--arch/arm/mach-rpc/include/mach/io.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-rpc/include/mach/io.h b/arch/arm/mach-rpc/include/mach/io.h
index 20da7f486e51..dd706ff25940 100644
--- a/arch/arm/mach-rpc/include/mach/io.h
+++ b/arch/arm/mach-rpc/include/mach/io.h
@@ -196,9 +196,6 @@ DECLARE_IO(int,l,"")
#define outw(v,p) (__builtin_constant_p((p)) ? __outwc(v,p) : __outw(v,p))
#define outl(v,p) (__builtin_constant_p((p)) ? __outlc(v,p) : __outl(v,p))
-/* the following macro is deprecated */
-#define ioaddr(port) ((unsigned long)__ioaddr((port)))
-
#define insb(p,d,l) __raw_readsb(__ioaddr(p),d,l)
#define insw(p,d,l) __raw_readsw(__ioaddr(p),d,l)