Skip to content

Commit

Permalink
[ARM] rpc: deprecate __ioaddr() and __ioaddrc() helpers
Browse files Browse the repository at this point in the history
Now everything is converted to use MMIO accessors, these helpers
are no longer required.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jul 3, 2008
1 parent e95a1b6 commit 50bbb05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/asm-arm/arch-rpc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static inline unsigned sz __in##fnsuffix (unsigned int port) \
return (unsigned sz)value; \
}

static inline void __iomem *__ioaddr(unsigned int port)
static inline void __iomem *__deprecated __ioaddr(unsigned int port)
{
void __iomem *ret;
if (__PORT_PCIO(port))
Expand Down Expand Up @@ -232,8 +232,7 @@ DECLARE_IO(int,l,"")
result; \
})

#define __ioaddrc(port) \
((__PORT_PCIO(port) ? PCIO_BASE : IO_BASE) + ((port) << 2))
#define __ioaddrc(port) __ioaddr(port)

#define inb(p) (__builtin_constant_p((p)) ? __inbc(p) : __inb(p))
#define inw(p) (__builtin_constant_p((p)) ? __inwc(p) : __inw(p))
Expand Down

0 comments on commit 50bbb05

Please sign in to comment.