From: Vinod Koul Date: Mon, 28 Jul 2014 06:27:25 +0000 (+0530) Subject: dmaengine: sun6i: fix build failure on x86, xilinx targets X-Git-Tag: omap-for-v3.17/fixes-against-rc2~88^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c0d54e62369584f2491f072f405602ff504e0e;p=pandora-kernel.git dmaengine: sun6i: fix build failure on x86, xilinx targets Since the driver defined COMPILE_TEST, it gets compiled for different arch's The driver uses __virt_to_phys() insteadof virt_to_phys, so replace it drivers/dma/sun6i-dma.c: In function ‘sun6i_dma_dump_chan_regs’: drivers/dma/sun6i-dma.c:203: error: implicit declaration of function '__virt_to_phys' Reported-by: kbuild test robot Reported-by: Stephen Rothwell Signed-off-by: Vinod Koul --- Reading git-diff-tree failed