[ARM] ohci-pxa27x: use ioremap() and offset for register access
authorEric Miao <eric.miao@marvell.com>
Sat, 4 Oct 2008 04:57:21 +0000 (12:57 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Oct 2008 18:12:58 +0000 (19:12 +0100)
commit0c392ed9a78cbe0f54955ea4716ade8bc22eb00d
tree9f56d8ff633f6bb93be7a8510eda42b030e992d3
parent0cb0b0d3c6ebb8215500685a1f70a45bbbdc8e47
[ARM] ohci-pxa27x: use ioremap() and offset for register access

This avoid the pre-mapping of OHCI controller register space, and the
mapping is made only when necessary (OHCI is probed).

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.c
drivers/usb/host/ohci-pxa27x.c