|
@@ -81,6 +81,8 @@ static inline struct musb_qh *first_qh(struct list_head *q)
|
|
|
extern struct musb *hcd_to_musb(struct usb_hcd *);
|
|
|
extern irqreturn_t musb_h_ep0_irq(struct musb *);
|
|
|
extern int musb_host_alloc(struct musb *);
|
|
|
+extern int musb_host_setup(struct musb *, int);
|
|
|
+extern void musb_host_cleanup(struct musb *);
|
|
|
extern void musb_host_tx(struct musb *, u8);
|
|
|
extern void musb_host_rx(struct musb *, u8);
|
|
|
extern void musb_root_disconnect(struct musb *musb);
|
|
@@ -107,6 +109,12 @@ static inline int musb_host_alloc(struct musb *musb)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static inline int musb_host_setup(struct musb *musb, int power_budget)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+static inline void musb_host_cleanup(struct musb *musb) {}
|
|
|
static inline void musb_host_free(struct musb *musb) {}
|
|
|
static inline void musb_host_tx(struct musb *musb, u8 epnum) {}
|
|
|
static inline void musb_host_rx(struct musb *musb, u8 epnum) {}
|