From: Jon Mason Date: Mon, 9 Sep 2013 23:51:59 +0000 (-0700) Subject: dmaengine: dma_sync_wait and dma_find_channel undefined X-Git-Tag: v3.12-rc1~74^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a43f394a08214eaf92cdd8ce3eae75e555323d8;p=pandora-kernel.git dmaengine: dma_sync_wait and dma_find_channel undefined 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 Signed-off-by: Dan Williams --- Reading git-diff-tree failed