summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/otg_fsm.c
diff options
context:
space:
mode:
authorFelipe Balbi2013-03-07 09:39:57 +0100
committerFelipe Balbi2013-03-18 10:18:03 +0100
commit42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b (patch)
treed3ede9364742732f0e53966e3be9bcfd253255dd /drivers/usb/otg/otg_fsm.c
parentusb: dwc3: gadget: use num_(in|out)_eps from HW params (diff)
downloadkernel-qcow2-linux-42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b.tar.gz
kernel-qcow2-linux-42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b.tar.xz
kernel-qcow2-linux-42c0bf1ce7c067bbc3e77d5626f102a16bc4fb6b.zip
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/otg_fsm.c')
-rw-r--r--drivers/usb/otg/otg_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/otg_fsm.c b/drivers/usb/otg/otg_fsm.c
index ade131a8ae5e..1f729a15decb 100644
--- a/drivers/usb/otg/otg_fsm.c
+++ b/drivers/usb/otg/otg_fsm.c
@@ -119,7 +119,7 @@ int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)
state_changed = 1;
if (fsm->otg->phy->state == new_state)
return 0;
- VDBG("Set state: %s\n", otg_state_string(new_state));
+ VDBG("Set state: %s\n", usb_otg_state_string(new_state));
otg_leave_state(fsm, fsm->otg->phy->state);
switch (new_state) {
case OTG_STATE_B_IDLE: