Commit 1dabc6ac authored by Dirk Behme's avatar Dirk Behme Committed by Kevin Hilman

ARM: DAVINCI: Fix warning in dma.c

Fix warning

arch/arm/mach-davinci/dma.c: In function 'arch_dma_init':
arch/arm/mach-davinci/dma.c:666: warning: format '%x' expects type
'unsigned int', but argument 3 has type 'volatile struct edmacc_regs *'
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent ad14e476
...@@ -663,7 +663,8 @@ int __init arch_dma_init(void) ...@@ -663,7 +663,8 @@ int __init arch_dma_init(void)
edma_dev.dev.driver = &edma_driver; edma_dev.dev.driver = &edma_driver;
ptr_edmacc_regs = get_edma_base(); ptr_edmacc_regs = get_edma_base();
dev_dbg(&edma_dev.dev, "DMA REG BASE ADDR=%x\n", ptr_edmacc_regs); dev_dbg(&edma_dev.dev, "DMA REG BASE ADDR=%x\n",
(unsigned int)ptr_edmacc_regs);
memset(dma_chan, 0x00, sizeof(dma_chan)); memset(dma_chan, 0x00, sizeof(dma_chan));
memset((void *)&(ptr_edmacc_regs->paramentry[0]), 0x00, memset((void *)&(ptr_edmacc_regs->paramentry[0]), 0x00,
sizeof(ptr_edmacc_regs->paramentry)); sizeof(ptr_edmacc_regs->paramentry));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment