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)
commitada65c74059f8c104f1b467c126205471634c435
tree795e6bbf35c5a70b8778ec53bf5124ef546eefbb
parentb6fa0cd62c5b9d47f8e5d42cb2876677a5ed701e
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