usb: gadget: m66592-udc pio to mmio accessor conversion.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:26:13 +0000 (16:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:26:13 +0000 (16:26 +0900)
commitabb24f4846d1537d73605e8576de8359a98e5ced
tree289caac25714550926277d4624b4ecbb396c065d
parent4b3fb4e79cc3e40ec033a77f1b3d81e7851a6cf5
usb: gadget: m66592-udc pio to mmio accessor conversion.

m66592-udc 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/gadget/m66592-udc.h