aboutsummaryrefslogtreecommitdiffstats
path: root/lib/raid6/algos.c
diff options
context:
space:
mode:
authorJon Mason <[email protected]>2013-09-09 23:51:59 +0000
committerDan Williams <[email protected]>2013-09-10 00:02:38 +0000
commit4a43f394a08214eaf92cdd8ce3eae75e555323d8 (patch)
treed0393349b7823dcf715929bb158c1e5904de056f /lib/raid6/algos.c
parentMAINTAINERS: update email for Dan Williams (diff)
downloadkernel-4a43f394a08214eaf92cdd8ce3eae75e555323d8.tar.gz
kernel-4a43f394a08214eaf92cdd8ce3eae75e555323d8.zip
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 <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions