summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/pipe.h
diff options
context:
space:
mode:
authorKuninori Morimoto2011-10-11 07:04:00 +0200
committerFelipe Balbi2011-10-13 19:41:42 +0200
commitbc6fbf59df75c4e3533d0daf7873f783c835bd53 (patch)
tree5777c3d881adcf221f8ea5b181e2a90662bb74cd /drivers/usb/renesas_usbhs/pipe.h
parentusb: gadget: renesas_usbhs: add struct usbhs_priv to packet done function (diff)
downloadkernel-qcow2-linux-bc6fbf59df75c4e3533d0daf7873f783c835bd53.tar.gz
kernel-qcow2-linux-bc6fbf59df75c4e3533d0daf7873f783c835bd53.tar.xz
kernel-qcow2-linux-bc6fbf59df75c4e3533d0daf7873f783c835bd53.zip
usb: gadget: renesas_usbhs: add device select support in usbhs_pipe_config_update()
device select method will be used on mod_host Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/pipe.h')
-rw-r--r--drivers/usb/renesas_usbhs/pipe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/pipe.h b/drivers/usb/renesas_usbhs/pipe.h
index 05b706a09e56..aff8bfa207d3 100644
--- a/drivers/usb/renesas_usbhs/pipe.h
+++ b/drivers/usb/renesas_usbhs/pipe.h
@@ -91,7 +91,8 @@ void usbhs_pipe_enable(struct usbhs_pipe *pipe);
void usbhs_pipe_disable(struct usbhs_pipe *pipe);
void usbhs_pipe_stall(struct usbhs_pipe *pipe);
void usbhs_pipe_select_fifo(struct usbhs_pipe *pipe, struct usbhs_fifo *fifo);
-void usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 epnum, u16 maxp);
+void usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel,
+ u16 epnum, u16 maxp);
#define usbhs_pipe_to_priv(p) ((p)->priv)
#define usbhs_pipe_number(p) (int)((p) - (p)->priv->pipe_info.pipe)