powerpc: Fix !CONFIG_PPC_NEED_DMA_SYNC_OPS build warning
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 4 Dec 2008 08:12:40 +0000 (08:12 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 16 Dec 2008 03:39:33 +0000 (14:39 +1100)
commit0efbb57e06d881a39a7f261e5c33558aedec0f79
treebccb105a263794ac9b3f606906ceb51811ca7141
parent46d01492b2c50791b9b66f9b9154ac8d25acaeb9
powerpc: Fix !CONFIG_PPC_NEED_DMA_SYNC_OPS build warning

Change #define stubs of dma_sync ops to be empty static inlines
to avoid build warning.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/dma-mapping.h