diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2016-04-18 03:53:41 -0400 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-04-19 04:11:54 -0400 |
commit | c3cdcac786ae8ce9221a05609952d14aa57c27f7 (patch) | |
tree | d2ce1cca192c7603d3405fa44c7a28338c426449 /drivers/usb/renesas_usbhs/mod_host.c | |
parent | e789ece1823596f24076aed1b9a2182a81b0a6b7 (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/mod_host.c')
-rw-r--r-- | drivers/usb/renesas_usbhs/mod_host.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c index 1a8e4c45c4c5..3bf0b72eb359 100644 --- a/drivers/usb/renesas_usbhs/mod_host.c +++ b/drivers/usb/renesas_usbhs/mod_host.c | |||
@@ -929,7 +929,8 @@ static int usbhsh_dcp_queue_push(struct usb_hcd *hcd, | |||
929 | /* | 929 | /* |
930 | * dma map functions | 930 | * dma map functions |
931 | */ | 931 | */ |
932 | static int usbhsh_dma_map_ctrl(struct usbhs_pkt *pkt, int map) | 932 | static int usbhsh_dma_map_ctrl(struct device *dma_dev, struct usbhs_pkt *pkt, |
933 | int map) | ||
933 | { | 934 | { |
934 | if (map) { | 935 | if (map) { |
935 | struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); | 936 | struct usbhsh_request *ureq = usbhsh_pkt_to_ureq(pkt); |