Commit 70fbb938 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras

[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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent b91bdd15
...@@ -75,8 +75,8 @@ struct pci_controller { ...@@ -75,8 +75,8 @@ struct pci_controller {
#endif #endif
struct pci_ops *ops; struct pci_ops *ops;
volatile unsigned int __iomem *cfg_addr; unsigned int __iomem *cfg_addr;
volatile void __iomem *cfg_data; void __iomem *cfg_data;
#ifndef CONFIG_PPC64 #ifndef CONFIG_PPC64
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment