[media] dma-mapping: fix dma_common_get_sgtable() conditional compilation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 26 Nov 2012 13:41:48 +0000 (10:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 27 Nov 2012 11:42:31 +0000 (09:42 -0200)
commitc6c22955f80f2db9614b01fe5a3d1cfcd8b3d848
tree3bab9de0cb7d3ce235cb82c495c7c4f9039ca924
parentcf38f41dee85729002dfcbb2aef4a3ee7776d05b
[media] dma-mapping: fix dma_common_get_sgtable() conditional compilation

dma_common_get_sgtable() function doesn't depend on
ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY, so it must not be compiled
conditionally.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/base/dma-mapping.c