diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-20 23:23:48 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-21 06:14:07 -0500 |
commit | 70fbb9388365c3f6f9f17e6501a67f8636e4af08 (patch) | |
tree | d766cca599019771ef2964bc5111d36cf2c7f12b /include/asm-powerpc/pci-bridge.h | |
parent | b91bdd15174ca7104905d74aaf89a6815c3f9d8c (diff) |
[POWERPC] Pointers marked as __iomem do not need to be volatile
Fixes this warning:
arch/powerpc/platforms/powermac/pci.c: In function 'u3_ht_cfg_access':
arch/powerpc/platforms/powermac/pci.c:354: warning: return discards qualifiers from pointer target type
arch/powerpc/platforms/powermac/pci.c:358: warning: return discards qualifiers from pointer target type
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 4aeef7f3d766..9b16d3b17169 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -75,8 +75,8 @@ struct pci_controller { | |||
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | struct pci_ops *ops; | 77 | struct pci_ops *ops; |
78 | volatile unsigned int __iomem *cfg_addr; | 78 | unsigned int __iomem *cfg_addr; |
79 | volatile void __iomem *cfg_data; | 79 | void __iomem *cfg_data; |
80 | 80 | ||
81 | #ifndef CONFIG_PPC64 | 81 | #ifndef CONFIG_PPC64 |
82 | /* | 82 | /* |