Re: [PATCH] dmadevices: dma_sync_wait and dma_find_channel undefined

2013-09-09 Thread Dan Williams
On Mon, Sep 9, 2013 at 4:51 PM, Jon Mason wrote: > dma_sync_wait and dma_find_channel are declared regardless of whether > CONFIG_DMA_ENGINE is enabled, but calling the function without > CONFIG_DMA_ENGINE enabled results "undefined reference" errors. > > To get around this, declare dma_sync_wait

[PATCH] dmadevices: dma_sync_wait and dma_find_channel undefined

2013-09-09 Thread Jon Mason
dma_sync_wait and dma_find_channel are declared regardless of whether CONFIG_DMA_ENGINE is enabled, but calling the function without CONFIG_DMA_ENGINE enabled results "undefined reference" errors. To get around this, declare dma_sync_wait and dma_find_channel as inline functions if

[PATCH] dmadevices: dma_sync_wait and dma_find_channel undefined

2013-09-09 Thread Jon Mason
dma_sync_wait and dma_find_channel are declared regardless of whether CONFIG_DMA_ENGINE is enabled, but calling the function without CONFIG_DMA_ENGINE enabled results undefined reference errors. To get around this, declare dma_sync_wait and dma_find_channel as inline functions if

Re: [PATCH] dmadevices: dma_sync_wait and dma_find_channel undefined

2013-09-09 Thread Dan Williams
On Mon, Sep 9, 2013 at 4:51 PM, Jon Mason jon.ma...@intel.com wrote: dma_sync_wait and dma_find_channel are declared regardless of whether CONFIG_DMA_ENGINE is enabled, but calling the function without CONFIG_DMA_ENGINE enabled results undefined reference errors. To get around this, declare