dmaengine: shdma: fix a build failure on platforms with no DMA support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 10 Jul 2013 02:09:12 +0000 (11:09 +0900)
committerOlof Johansson <olof@lixom.net>
Tue, 23 Jul 2013 02:40:01 +0000 (19:40 -0700)
commitab116a4df4942c78c189d9b0744dd940ab9e00b9
tree386f5e43aa2b5276a60a262b02264e78fa16e163
parentc9250073cdd54339a320b78719761d3ea33714fe
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 <g.liakhovetski+renesas@gmail.com>
[horms+renesas@verge.net.au: Apply change to shdma-base.h instead of sh_dma.h]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Olof Johansson <olof@lixom.net>
include/linux/shdma-base.h