···6464static int state_changed;65656666/* Called when leaving a state. Do state clean up jobs here */6767-void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state)6767+static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state)6868{6969 switch (old_state) {7070 case OTG_STATE_B_IDLE:···121121}122122123123/* Called when entering a state */124124-int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)124124+static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)125125{126126 state_changed = 1;127127 if (fsm->otg->phy->state == new_state)