OpenCloudOS-Kernel/drivers/mtd/onenand
Arnd Bergmann 81d46c5955 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>
2014-05-20 16:35:31 -07:00
..
Kconfig mtd: onenand: remove OneNAND simulator 2013-04-05 13:19:26 +01:00
Makefile mtd: onenand: remove OneNAND simulator 2013-04-05 13:19:26 +01:00
generic.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
omap2.c mtd: delete non-required instances of include <linux/init.h> 2014-03-10 22:42:22 -07:00
onenand_base.c mtd: Add a retlen parameter to _get_{fact,user}_prot_info 2014-03-10 22:42:28 -07:00
onenand_bbt.c mtd: nand: remove NAND_BBT_SCANEMPTY 2013-08-30 16:48:37 +01:00
samsung.c mtd: onenand: fix build warning for dma type 2014-05-20 16:35:31 -07:00
samsung.h mtd: onenand: Trivial cleanup in samsung.h 2014-01-11 12:00:25 -08:00