Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: phy-fsm: Staticize local symbols

Local symbols appearing only in this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>

authored by

Sachin Kamat and committed by
Felipe Balbi
7410f172 ed40082d

+2 -2
+2 -2
drivers/usb/phy/phy-fsm-usb.c
··· 64 64 static int state_changed; 65 65 66 66 /* Called when leaving a state. Do state clean up jobs here */ 67 - void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) 67 + static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) 68 68 { 69 69 switch (old_state) { 70 70 case OTG_STATE_B_IDLE: ··· 121 121 } 122 122 123 123 /* Called when entering a state */ 124 - int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) 124 + static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) 125 125 { 126 126 state_changed = 1; 127 127 if (fsm->otg->phy->state == new_state)