ARM: davinci: sram.c: fix incorrect type in assignment
authorSekhar Nori <nsekhar@ti.com>
Wed, 10 Apr 2013 09:27:14 +0000 (14:57 +0530)
committerSekhar Nori <nsekhar@ti.com>
Wed, 17 Apr 2013 13:56:41 +0000 (19:26 +0530)
commit182e7961caa1ce4fce1787ec75c1e2e6021307bd
tree1caccbabe05ba1106b127db99ae2d073ddad49ff
parent267f3c07318b1b1bf04f6039bda7c54613d9e120
ARM: davinci: sram.c: fix incorrect type in assignment

Fix missing __iomem attribute. This fixes the sparse warning:

  CHECK   arch/arm/mach-davinci/sram.c
arch/arm/mach-davinci/sram.c:75:8: warning: incorrect type in assignment (different address spaces)
arch/arm/mach-davinci/sram.c:75:8:    expected void *addr
arch/arm/mach-davinci/sram.c:75:8:    got void [noderef] <asn:2>*
arch/arm/mach-davinci/sram.c:81:12: warning: incorrect type in argument 1 (different address spaces)
arch/arm/mach-davinci/sram.c:81:12:    expected void volatile [noderef] <asn:2>*addr
arch/arm/mach-davinci/sram.c:81:12:    got void *addr

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/sram.c