aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/pipe.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2016-04-18 03:53:41 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-04-19 04:11:54 -0400
commitc3cdcac786ae8ce9221a05609952d14aa57c27f7 (patch)
treed2ce1cca192c7603d3405fa44c7a28338c426449 /drivers/usb/renesas_usbhs/pipe.c
parente789ece1823596f24076aed1b9a2182a81b0a6b7 (diff)
usb: renesas_usbhs: change arguments of dma_map_ctrl()
Since usbhsg_dma_map_ctrl() needs DMA device structure in the near future, this patch changes arguments of dma_map_ctrl() to give such data. (This patch is only change the argument.) Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/pipe.c')
-rw-r--r--drivers/usb/renesas_usbhs/pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/pipe.c b/drivers/usb/renesas_usbhs/pipe.c
index 78e9dba701c4..77b615ce4a25 100644
--- a/drivers/usb/renesas_usbhs/pipe.c
+++ b/drivers/usb/renesas_usbhs/pipe.c
@@ -655,7 +655,8 @@ static void usbhsp_put_pipe(struct usbhs_pipe *pipe)
655} 655}
656 656
657void usbhs_pipe_init(struct usbhs_priv *priv, 657void usbhs_pipe_init(struct usbhs_priv *priv,
658 int (*dma_map_ctrl)(struct usbhs_pkt *pkt, int map)) 658 int (*dma_map_ctrl)(struct device *dma_dev,
659 struct usbhs_pkt *pkt, int map))
659{ 660{
660 struct usbhs_pipe_info *info = usbhs_priv_to_pipeinfo(priv); 661 struct usbhs_pipe_info *info = usbhs_priv_to_pipeinfo(priv);
661 struct usbhs_pipe *pipe; 662 struct usbhs_pipe *pipe;