summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/fifo.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-06-06 14:18:58 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 09:10:10 -0700
commit0cb7e61d16ac68a2c5dd73a00e211287848d16e7 (patch)
tree8b286df4f77aefd1ed73c97b61a71eb15dd3b6cf /drivers/usb/renesas_usbhs/fifo.c
parent0432eed008024e0e90f16207ab406ac6ec877cac (diff)
downloadlinux-0cb7e61d16ac68a2c5dd73a00e211287848d16e7.tar.gz
linux-0cb7e61d16ac68a2c5dd73a00e211287848d16e7.tar.bz2
linux-0cb7e61d16ac68a2c5dd73a00e211287848d16e7.zip
usb: renesas_usbhs: tidyup pio handler name
This patch tidyup PIO packet handler name. This is a preparation for DMAEngine support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/renesas_usbhs/fifo.c')
-rw-r--r--drivers/usb/renesas_usbhs/fifo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
index 0efee5fc034b..14baaad20b79 100644
--- a/drivers/usb/renesas_usbhs/fifo.c
+++ b/drivers/usb/renesas_usbhs/fifo.c
@@ -289,7 +289,7 @@ static int usbhsf_fifo_select(struct usbhs_pipe *pipe,
/*
* PIO fifo functions
*/
-static int usbhsf_try_push(struct usbhs_pkt *pkt, int *is_done)
+static int usbhsf_pio_try_push(struct usbhs_pkt *pkt, int *is_done)
{
struct usbhs_pipe *pipe = pkt->pipe;
struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe);
@@ -384,9 +384,9 @@ usbhs_fifo_write_busy:
return ret;
}
-struct usbhs_pkt_handle usbhs_fifo_push_handler = {
- .prepare = usbhsf_try_push,
- .try_run = usbhsf_try_push,
+struct usbhs_pkt_handle usbhs_fifo_pio_push_handler = {
+ .prepare = usbhsf_pio_try_push,
+ .try_run = usbhsf_pio_try_push,
};
static int usbhsf_prepare_pop(struct usbhs_pkt *pkt, int *is_done)
@@ -406,7 +406,7 @@ static int usbhsf_prepare_pop(struct usbhs_pkt *pkt, int *is_done)
return 0;
}
-static int usbhsf_try_pop(struct usbhs_pkt *pkt, int *is_done)
+static int usbhsf_pio_try_pop(struct usbhs_pkt *pkt, int *is_done)
{
struct usbhs_pipe *pipe = pkt->pipe;
struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe);
@@ -485,9 +485,9 @@ usbhs_fifo_read_busy:
return ret;
}
-struct usbhs_pkt_handle usbhs_fifo_pop_handler = {
+struct usbhs_pkt_handle usbhs_fifo_pio_pop_handler = {
.prepare = usbhsf_prepare_pop,
- .try_run = usbhsf_try_pop,
+ .try_run = usbhsf_pio_try_pop,
};
/*