summaryrefslogtreecommitdiff
path: root/drivers/usb/phy/phy-fsl-usb.h
diff options
context:
space:
mode:
authorAnton Tikhomirov <av.tikhomirov@samsung.com>2013-10-03 07:42:04 +0400
committerFelipe Balbi <balbi@ti.com>2013-10-04 18:44:44 +0400
commitda8cc16724da2965c94ca15e1377cb9939776dda (patch)
tree5adbb04d75a23aa202109dd2f25668634ea9177c /drivers/usb/phy/phy-fsl-usb.h
parentf8cffc84a2ff8efc2ecca6128485877109e499f5 (diff)
downloadlinux-da8cc16724da2965c94ca15e1377cb9939776dda.tar.xz
usb: phy: Pass OTG FSM pointer to callback functions
struct otg_fsm may be embedded to device's context structure. The callbacks may require pointer to struct otg_fsm to obtain necessary data for its operation (example: regulator reference for drv_vbus()). Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-fsl-usb.h')
-rw-r--r--drivers/usb/phy/phy-fsl-usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-fsl-usb.h b/drivers/usb/phy/phy-fsl-usb.h
index e1859b8ef567..7365170a2f23 100644
--- a/drivers/usb/phy/phy-fsl-usb.h
+++ b/drivers/usb/phy/phy-fsl-usb.h
@@ -401,6 +401,6 @@ struct fsl_otg_config {
#define GET_A_BUS_REQ _IOR(OTG_IOCTL_MAGIC, 8, int)
#define GET_B_BUS_REQ _IOR(OTG_IOCTL_MAGIC, 9, int)
-void fsl_otg_add_timer(void *timer);
-void fsl_otg_del_timer(void *timer);
+void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
+void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
void fsl_otg_pulse_vbus(void);