diff options
author | Tony Lindgren <tony@atomide.com> | 2015-05-01 21:29:28 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-05-07 20:35:51 +0200 |
commit | 7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a (patch) | |
tree | e5f5f48541a71f85abf585754a5d649b91c0273b /drivers/usb/musb/blackfin.c | |
parent | usb: musb: Fix up DMA related macros (diff) | |
download | linux-7f6283ed6fe867ce168ee3eea2ced4f6cdeeb37a.tar.xz 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/blackfin.c')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 2a73a730bfa5..310238c6b5cd 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c @@ -478,6 +478,10 @@ static const struct musb_platform_ops bfin_ops = { .fifo_mode = 2, .read_fifo = bfin_read_fifo, .write_fifo = bfin_write_fifo, +#ifdef CONFIG_USB_INVENTRA_DMA + .dma_init = musbhs_dma_controller_create, + .dma_exit = musbhs_dma_controller_destroy, +#endif .enable = bfin_musb_enable, .disable = bfin_musb_disable, |