summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorTony Lindgren2015-05-01 21:29:28 +0200
committerFelipe Balbi2015-05-07 20:35:51 +0200
commit7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a (patch)
treee5f5f48541a71f85abf585754a5d649b91c0273b /drivers/usb/musb/omap2430.c
parentusb: musb: Fix up DMA related macros (diff)
downloadkernel-qcow2-linux-7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a.tar.gz
kernel-qcow2-linux-7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a.tar.xz
kernel-qcow2-linux-7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a.zip
usb: musb: Set up function pointers for DMA
Set up function pointers for DMA so get closer to being able to build in all the DMA engines. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r--drivers/usb/musb/omap2430.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 5546a22db2ed..70f2b8a2e6cf 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -494,6 +494,10 @@ static int omap2430_musb_exit(struct musb *musb)
static const struct musb_platform_ops omap2430_ops = {
.quirks = MUSB_DMA_INVENTRA,
+#ifdef CONFIG_USB_INVENTRA_DMA
+ .dma_init = musbhs_dma_controller_create,
+ .dma_exit = musbhs_dma_controller_destroy,
+#endif
.init = omap2430_musb_init,
.exit = omap2430_musb_exit,