commit | ed6ccf10f24bdfc1955bc8b976ddedc370fc3869 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Dec 26 07:52:13 2018 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jan 04 09:03:17 2019 +0100 |
tree | 392b8f04bf337cf9cbf3b5c698bde51d84c30f84 | |
parent | 4788ba5792cc1368ba4867e1488dc168b4fe97b7 [diff] |
dma-mapping: properly stub out the DMA API for !CONFIG_HAS_DMA This avoids link failures in drivers using the DMA API, when they are compiled for user mode Linux with CONFIG_COMPILE_TEST=y. Fixes: 356da6d0cd ("dma-mapping: bypass indirect calls for dma-direct") Signed-off-by: Christoph Hellwig <hch@lst.de>