summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdsuper.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-08 18:56:14 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-05-21 03:35:31 +0400
commit81d46c59550997ae17e441c0327ee92f7ba7dc6f (patch)
treed45e6162f3754696cc531818b2b54298c2bcc322 /drivers/mtd/mtdsuper.c
parentcb3346ac244652f6b70ab7312ec9ecde6ec4dbc6 (diff)
downloadlinux-81d46c59550997ae17e441c0327ee92f7ba7dc6f.tar.xz
mtd: onenand: fix build warning for dma type
The samsung onenand driver passes around a dma address token through a void pointer, which is incorrect and leads to warnings like this one: onenand/samsung.c:548:2: warning: passing argument 1 of '__fswab32' makes integer from pointer without a cast [enabled by default] writel(src, base + S5PC110_DMA_SRC_ADDR); ^ This patch makes it use dma_addr_t here, which is more appropriate. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: linux-mtd@lists.infradead.org Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdsuper.c')
0 files changed, 0 insertions, 0 deletions