usb: musb: abstract out ULPI_BUSCONTROL register reads/writes
authorMike Frysinger <vapier@gentoo.org>
Fri, 12 Mar 2010 08:27:21 +0000 (10:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:13 +0000 (07:24 -0700)
commitadb3ee421d6d39fbfadadf7093a587461ac4597e
treea18470962165dce6d448128a96f1404480c37f8e
parent9957dd97ec5e98dd334f87ade1d9a0b24d1f86eb
usb: musb: abstract out ULPI_BUSCONTROL register reads/writes

The USB PHY on current Blackfin processors is a UTMI+ level 2 PHY.
However, it has no ULPI support - so there are no registers at all.
That means accesses to ULPI_BUSCONTROL have to be abstracted away
like other MUSB registers.

This fixes building for Blackfin parts again.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_regs.h