From: Guennadi Liakhovetski Date: Wed, 10 Jul 2013 02:09:12 +0000 (+0900) Subject: dmaengine: shdma: fix a build failure on platforms with no DMA support X-Git-Tag: v3.11-rc3~8^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab116a4df4942c78c189d9b0744dd940ab9e00b9;p=pandora-kernel.git dmaengine: shdma: fix a build failure on platforms with no DMA support On platforms with no support for the shdma dmaengine driver build is currently failing with drivers/built-in.o: In function `sh_mobile_sdhi_probe': drivers/mmc/host/sh_mobile_sdhi.c:170: undefined reference to`shdma_chan_filter' Fix the breakage by defining shdma_chan_filter to NULL in such configurations. Signed-off-by: Guennadi Liakhovetski [horms+renesas@verge.net.au: Apply change to shdma-base.h instead of sh_dma.h] Signed-off-by: Simon Horman Signed-off-by: Olof Johansson --- Reading git-diff-tree failed