From: Jingoo Han Date: Wed, 7 Aug 2013 07:12:14 +0000 (+0900) Subject: mtd: impa7: add missing __iomem annotation X-Git-Tag: v3.12-rc1~82^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d90c992da5b0b96cd6d3b2c0958b236808fb47;p=pandora-kernel.git 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] *addr drivers/mtd/maps/impa7.c:96:34: got void * 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] *addr drivers/mtd/maps/impa7.c:108:34: got void * drivers/mtd/maps/impa7.c:109:45: warning: Using plain integer as NULL pointer Signed-off-by: Jingoo Han Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed