xotg = container_of(work, struct xusbps_otg, work);
dev_dbg(xotg->dev, "%s: old state = %s\n", __func__,
- otg_state_string(xotg->otg.state));
+ usb_otg_state_string(xotg->otg.state));
switch (xotg->otg.state) {
case OTG_STATE_UNDEFINED:
}
dev_dbg(xotg->dev, "%s: new state = %s\n", __func__,
- otg_state_string(xotg->otg.state));
+ usb_otg_state_string(xotg->otg.state));
}
static ssize_t
"b_bus_req = \t%d\n"
"b_bus_suspend_tmout = \t%d\n"
"b_bus_suspend_vld = \t%d\n",
- otg_state_string(xotg->otg.state),
+ usb_otg_state_string(xotg->otg.state),
xotg->hsm.a_bus_resume,
xotg->hsm.a_bus_suspend,
xotg->hsm.a_conn,