aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/renesas_usbhs/pipe.h')
-rw-r--r--drivers/usb/renesas_usbhs/pipe.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/renesas_usbhs/pipe.h b/drivers/usb/renesas_usbhs/pipe.h
index 535e6aa434c7..20e3cf46f70c 100644
--- a/drivers/usb/renesas_usbhs/pipe.h
+++ b/drivers/usb/renesas_usbhs/pipe.h
@@ -42,8 +42,7 @@ struct usbhs_pipe_info {
42 int size; /* array size of "pipe" */ 42 int size; /* array size of "pipe" */
43 int bufnmb_last; /* FIXME : driver needs good allocator */ 43 int bufnmb_last; /* FIXME : driver needs good allocator */
44 44
45 void (*tx_done)(struct usbhs_pkt *pkt); 45 void (*done)(struct usbhs_pkt *pkt);
46 void (*rx_done)(struct usbhs_pkt *pkt);
47}; 46};
48 47
49/* 48/*
@@ -82,8 +81,7 @@ void usbhs_pipe_remove(struct usbhs_priv *priv);
82int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); 81int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe);
83int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); 82int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe);
84void usbhs_pipe_init(struct usbhs_priv *priv, 83void usbhs_pipe_init(struct usbhs_priv *priv,
85 void (*tx_done)(struct usbhs_pkt *pkt), 84 void (*done)(struct usbhs_pkt *pkt));
86 void (*rx_done)(struct usbhs_pkt *pkt));
87int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); 85int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe);
88void usbhs_pipe_clear_sequence(struct usbhs_pipe *pipe); 86void usbhs_pipe_clear_sequence(struct usbhs_pipe *pipe);
89int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe); 87int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe);