summaryrefslogtreecommitdiff
path: root/drivers/usb/otg/isp1301_omap.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-07 08:39:57 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-18 09:18:03 (GMT)
commit42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b (patch)
treed3ede9364742732f0e53966e3be9bcfd253255dd /drivers/usb/otg/isp1301_omap.c
parent6a1e3ef45fb0c4d79cbb5190c8fc59263c630b0e (diff)
downloadlinux-fsl-qoriq-42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b.tar.xz
usb: otg: prefix otg_state_string with usb_
all other functions under drivers/usb/ start with usb_, let's do the same thing. This patch is in preparation for moving otg_state_string to usb-common.c and deleting otg.c completely. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/otg/isp1301_omap.c')
-rw-r--r--drivers/usb/otg/isp1301_omap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c
index af9cb11..8fe0c3b 100644
--- a/drivers/usb/otg/isp1301_omap.c
+++ b/drivers/usb/otg/isp1301_omap.c
@@ -236,7 +236,7 @@ isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits)
static inline const char *state_name(struct isp1301 *isp)
{
- return otg_state_string(isp->phy.state);
+ return usb_otg_state_string(isp->phy.state);
}
/*-------------------------------------------------------------------------*/
@@ -481,7 +481,7 @@ static void check_state(struct isp1301 *isp, const char *tag)
if (isp->phy.state == state && !extra)
return;
pr_debug("otg: %s FSM %s/%02x, %s, %06x\n", tag,
- otg_state_string(state), fsm, state_name(isp),
+ usb_otg_state_string(state), fsm, state_name(isp),
omap_readl(OTG_CTRL));
}
@@ -1077,7 +1077,7 @@ static void isp_update_otg(struct isp1301 *isp, u8 stat)
if (state != isp->phy.state)
pr_debug(" isp, %s -> %s\n",
- otg_state_string(state), state_name(isp));
+ usb_otg_state_string(state), state_name(isp));
#ifdef CONFIG_USB_OTG
/* update the OTG controller state to match the isp1301; may