diff options
author | Felipe Balbi <balbi@ti.com> | 2013-03-07 03:39:57 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:18:03 -0400 |
commit | 42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b (patch) | |
tree | d3ede9364742732f0e53966e3be9bcfd253255dd /drivers/usb/musb/davinci.c | |
parent | 6a1e3ef45fb0c4d79cbb5190c8fc59263c630b0e (diff) |
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/musb/davinci.c')
-rw-r--r-- | drivers/usb/musb/davinci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index e040d9103735..bea6cc35471c 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c | |||
@@ -215,7 +215,7 @@ static void otg_timer(unsigned long _musb) | |||
215 | */ | 215 | */ |
216 | devctl = musb_readb(mregs, MUSB_DEVCTL); | 216 | devctl = musb_readb(mregs, MUSB_DEVCTL); |
217 | dev_dbg(musb->controller, "poll devctl %02x (%s)\n", devctl, | 217 | dev_dbg(musb->controller, "poll devctl %02x (%s)\n", devctl, |
218 | otg_state_string(musb->xceiv->state)); | 218 | usb_otg_state_string(musb->xceiv->state)); |
219 | 219 | ||
220 | spin_lock_irqsave(&musb->lock, flags); | 220 | spin_lock_irqsave(&musb->lock, flags); |
221 | switch (musb->xceiv->state) { | 221 | switch (musb->xceiv->state) { |
@@ -349,7 +349,7 @@ static irqreturn_t davinci_musb_interrupt(int irq, void *__hci) | |||
349 | davinci_musb_source_power(musb, drvvbus, 0); | 349 | davinci_musb_source_power(musb, drvvbus, 0); |
350 | dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", | 350 | dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", |
351 | drvvbus ? "on" : "off", | 351 | drvvbus ? "on" : "off", |
352 | otg_state_string(musb->xceiv->state), | 352 | usb_otg_state_string(musb->xceiv->state), |
353 | err ? " ERROR" : "", | 353 | err ? " ERROR" : "", |
354 | devctl); | 354 | devctl); |
355 | retval = IRQ_HANDLED; | 355 | retval = IRQ_HANDLED; |