]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: musb: fix prototype for musb_port_reset
authorDaniel Mack <zonque@gmail.com>
Fri, 20 Dec 2013 09:47:14 +0000 (10:47 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 20 Dec 2013 21:05:43 +0000 (15:05 -0600)
musb_port_reset() takes a 2nd arguments. This didn't hit us yet because
this function was never called externally prior to the musb_hub_control
cleanup patch.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.h

index 909ba49ef069b6be138592df3db8a12e09857571..7bbf01bf4bb0b51a42104e7302a5d01012ee551f 100644 (file)
@@ -125,7 +125,7 @@ static inline void musb_host_resume_root_hub(struct musb *musb)     {}
 static inline void musb_host_poll_rh_status(struct musb *musb) {}
 static inline void musb_host_poke_root_hub(struct musb *musb)  {}
 static inline void musb_port_suspend(struct musb *musb, bool do_suspend) {}
-static inline void musb_port_reset(struct musb *musb)          {}
+static inline void musb_port_reset(struct musb *musb, bool do_reset) {}
 static inline void musb_host_finish_resume(struct work_struct *work) {}
 #endif