]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[ARM] 3191/1: Mark I/O pointer as const in __raw_reads[bwl]
authorDeepak Saxena <dsaxena@plexity.net>
Mon, 5 Dec 2005 10:54:59 +0000 (10:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Dec 2005 10:54:59 +0000 (10:54 +0000)
commita0d95af5c28666155ad4c85a63a5065436ae1d79
tree9a4d0b2c4298b402bd731faacd085ae62f0f2532
parent9ddf61bd09a7668279d2b208a96eba784bec3d80
[ARM] 3191/1: Mark I/O pointer as const in __raw_reads[bwl]

Patch from Deepak Saxena

Mark the ioremap'd cookie/pointer in said functions as const since
we should not be actualy touching the data. This fixes a slew of
compile warnings on IXP4xx as our reads[bwl] already mark this
parameter as const.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/io.h