]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 12 Dec 2012 09:23:03 +0000 (10:23 +0100)
committerSumit Semwal <sumit.semwal@linaro.org>
Thu, 20 Dec 2012 06:35:06 +0000 (12:05 +0530)
commit9b87b85a009b4b0abad144925da084178b5013d4
tree795e6bbf35c5a70b8778ec53bf5124ef546eefbb
parent48d973fb2b00d698eda8e4b4a00060611afa25ee
dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

Documentation says that code requiring dma-buf should add it to
select, so inline fallbacks are not going to be used. A link error
will make it obvious what went wrong, instead of silently doing
nothing at runtime.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Rob Clark <rob.clark@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
include/linux/dma-buf.h