diff options
author | John Bowler <jbowler@acm.org> | 2005-11-02 11:55:12 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-02 11:55:12 +0000 |
commit | bfca94590bfd3dcd958c542d2fb6406518150fee (patch) | |
tree | 00e947e6abd3ec64ac025112121440160a783cf3 /include/asm-arm26/proc-fns.h | |
parent | 9dc2d0f55fb693ae6d50c8dd3d934fe3133ca183 (diff) |
[ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed to integral function argument
Patch from John Bowler
Fix for a compiler warning, this wasn't apparent in 2.6.12, I
believe the compiler options have been changed (somewhere) so
that passing a (void*) to a (u32) argument is now warned.
This accounts for the majority of the warnings in my builds of
the 2.6.14 kernel for NSLU2.
The patch changes pointer parameters declared as u32 to be
declared as either, for read parameters:
const volatile void __iomem *
and for write parameters:
volatile void __iomem *
Signed-off-by: John Bowler <jbowler@acm.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm26/proc-fns.h')
0 files changed, 0 insertions, 0 deletions