summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/cnic.h
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-09-10 01:51:59 +0200
committerDan Williams <dan.j.williams@intel.com>2013-09-10 02:02:38 +0200
commit4a43f394a08214eaf92cdd8ce3eae75e555323d8 (patch)
treed0393349b7823dcf715929bb158c1e5904de056f /drivers/net/ethernet/broadcom/cnic.h
parentMAINTAINERS: update email for Dan Williams (diff)
downloadlinux-4a43f394a08214eaf92cdd8ce3eae75e555323d8.tar.xz
linux-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 <jon.mason@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/cnic.h')
0 files changed, 0 insertions, 0 deletions