]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4666/1: ixp4xx: fix sparse warnings in include/asm-arm/arch-ixp4xx/io.h
authorPavel Roskin <proski@gnu.org>
Sun, 25 Nov 2007 01:12:39 +0000 (02:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 14:50:03 +0000 (14:50 +0000)
commitd2936b1976a9c70d1cce4700c51f26d4b9495e9d
treef3fca24e6367754cb9ca85a998bbd4191dc5b863
parente173dbf68869dd1fe64c16b8d6ae2fbe6a3b2f89
[ARM] 4666/1: ixp4xx: fix sparse warnings in include/asm-arm/arch-ixp4xx/io.h

Don't lose __iomem in casts.  Use __force to cast __iomem addresses to
integers.  Use __force to cast u32 to __le32 and vice versa.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp4xx/io.h