diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-07 09:12:14 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 22:51:40 +0200 |
commit | d1d90c992da5b0b96cd6d3b2c0958b236808fb47 (patch) | |
tree | e44a0c9055ad4fe1dd47a72646154f8390b6388b /drivers/mtd/nand/nandsim.c | |
parent | mtd: sm_ftl: Staticize local symbols (diff) | |
download | linux-d1d90c992da5b0b96cd6d3b2c0958b236808fb47.tar.xz linux-d1d90c992da5b0b96cd6d3b2c0958b236808fb47.zip |
mtd: impa7: add missing __iomem annotation
Added missing __iomem annotation and used NULL instead of 0
in order to fix the following sparse warnings:
drivers/mtd/maps/impa7.c:82:32: warning: Using plain integer as NULL pointer
drivers/mtd/maps/impa7.c:96:34: warning: cast removes address space of expression
drivers/mtd/maps/impa7.c:96:34: warning: incorrect type in argument 1 (different address spaces)
drivers/mtd/maps/impa7.c:96:34: expected void volatile [noderef] <asn:2>*addr
drivers/mtd/maps/impa7.c:96:34: got void *<noident>
drivers/mtd/maps/impa7.c:108:34: warning: cast removes address space of expression
drivers/mtd/maps/impa7.c:108:34: warning: incorrect type in argument 1 (different address spaces)
drivers/mtd/maps/impa7.c:108:34: expected void volatile [noderef] <asn:2>*addr
drivers/mtd/maps/impa7.c:108:34: got void *<noident>
drivers/mtd/maps/impa7.c:109:45: warning: Using plain integer as NULL pointer
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/nandsim.c')
0 files changed, 0 insertions, 0 deletions