diff options
Diffstat (limited to 'drivers/usb/renesas_usbhs/pipe.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/pipe.h | 6 |
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); | |||
82 | int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); | 81 | int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe); |
83 | int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); | 82 | int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe); |
84 | void usbhs_pipe_init(struct usbhs_priv *priv, | 83 | void 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)); | ||
87 | int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); | 85 | int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe); |
88 | void usbhs_pipe_clear_sequence(struct usbhs_pipe *pipe); | 86 | void usbhs_pipe_clear_sequence(struct usbhs_pipe *pipe); |
89 | int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe); | 87 | int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe); |