From: Jingoo Han Date: Wed, 7 Aug 2013 07:17:29 +0000 (+0900) Subject: mtd: maps: cfi_flagadm: add missing __iomem annotation X-Git-Tag: v3.12-rc1~82^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a589c8bad41d117184c0b7d658956d525354af5;p=pandora-kernel.git mtd: maps: cfi_flagadm: add missing __iomem annotation Added missing __iomem annotation and staticized local symbols in order to fix the following sparse warnings: drivers/mtd/maps/cfi_flagadm.c:58:17: warning: symbol 'flagadm_map' was not declared. Should it be static? drivers/mtd/maps/cfi_flagadm.c:64:22: warning: symbol 'flagadm_parts' was not declared. Should it be static? drivers/mtd/maps/cfi_flagadm.c:115:18: warning: cast removes address space of expression drivers/mtd/maps/cfi_flagadm.c:115:18: warning: incorrect type in argument 1 (different address spaces) drivers/mtd/maps/cfi_flagadm.c:115:18: expected void volatile [noderef] *addr drivers/mtd/maps/cfi_flagadm.c:115:18: got void * drivers/mtd/maps/cfi_flagadm.c:126:26: warning: cast removes address space of expression drivers/mtd/maps/cfi_flagadm.c:126:26: warning: incorrect type in argument 1 (different address spaces) drivers/mtd/maps/cfi_flagadm.c:126:26: expected void volatile [noderef] *addr drivers/mtd/maps/cfi_flagadm.c:126:26: got void * drivers/mtd/maps/cfi_flagadm.c:127:36: 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