dmaengine: sun6i: fix build failure on x86, xilinx targets
authorVinod Koul <vinod.koul@intel.com>
Mon, 28 Jul 2014 06:27:25 +0000 (11:57 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 28 Jul 2014 07:19:33 +0000 (12:49 +0530)
commit42c0d54e62369584f2491f072f405602ff504e0e
tree1d7966f3263fbed947c556991fccb098c6f99392
parentec1f0c96669a23f898c25a30a5319baebf3f0677
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 <fengguang.wu@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c