From: Arnd Bergmann Date: Thu, 8 May 2014 14:56:14 +0000 (+0200) Subject: mtd: onenand: fix build warning for dma type X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81d46c59550997ae17e441c0327ee92f7ba7dc6f;p=pandora-kernel.git 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 Cc: Kyungmin Park Cc: David Woodhouse Cc: linux-mtd@lists.infradead.org Signed-off-by: Brian Norris --- Reading git-diff-tree failed