lkml.org 
[lkml]   [2013]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] dmadevices: dma_sync_wait and dma_find_channel undefined
From
On Mon, Sep 9, 2013 at 4:51 PM, Jon Mason <jon.mason@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 dma_sync_wait and dma_find_channel as inline
> functions if CONFIG_DMA_ENGINE is undefined.
>
> Signed-off-by: Jon Mason <jon.mason@intel.com>

Applied with a s/dmadevices/dmaengine/ on the subject.

--
Dan


\
 
 \ /
  Last update: 2013-09-10 02:21    [W:0.074 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site