usb: r8a66597-hcd pio to mmio accessor conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:27:54 +0000 (16:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:31:15 +0000 (16:31 +0900)
commit1c98347e613bf17ea2f18c9766ce0ab77f65a96d
tree79ac000a8fb4b829f23e2247810de8c8c38eb608
parente8b48669de54d390644c77cd26d5c9fccbc1e0a1
usb: r8a66597-hcd pio to mmio accessor conversion.

r8a66597-hcd is erroneously using PIO routines on MMIO registers, which
presently blows up for any platform that elects to either override or do
away with PIO routines. This managed to work for the common cases since
the PIO routines were simply wrapped to their MMIO counterparts. This
switches over to using the MMIO routines directly, and enables us to kill
off a lot of superfluous casting in the process.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/r8a66597.h