diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-03-29 03:47:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:54:22 -0400 |
commit | 8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (patch) | |
tree | 5e4cd7a1889931f6cea5f994c6cb06c9bf120a4c /arch/sparc/kernel/ebus.c | |
parent | 644923d4a5f117d437aefd47688d1141cc8361ed (diff) |
[SPARC]: constify of_get_property return: arch/sparc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ebus.c')
-rw-r--r-- | arch/sparc/kernel/ebus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc/kernel/ebus.c b/arch/sparc/kernel/ebus.c index ba58c3a061fd..7724e2067159 100644 --- a/arch/sparc/kernel/ebus.c +++ b/arch/sparc/kernel/ebus.c | |||
@@ -86,8 +86,8 @@ int __init ebus_blacklist_irq(char *name) | |||
86 | void __init fill_ebus_child(struct device_node *dp, | 86 | void __init fill_ebus_child(struct device_node *dp, |
87 | struct linux_ebus_child *dev) | 87 | struct linux_ebus_child *dev) |
88 | { | 88 | { |
89 | int *regs; | 89 | const int *regs; |
90 | int *irqs; | 90 | const int *irqs; |
91 | int i, len; | 91 | int i, len; |
92 | 92 | ||
93 | dev->prom_node = dp; | 93 | dev->prom_node = dp; |
@@ -146,9 +146,9 @@ void __init fill_ebus_child(struct device_node *dp, | |||
146 | 146 | ||
147 | void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *dev) | 147 | void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *dev) |
148 | { | 148 | { |
149 | struct linux_prom_registers *regs; | 149 | const struct linux_prom_registers *regs; |
150 | struct linux_ebus_child *child; | 150 | struct linux_ebus_child *child; |
151 | int *irqs; | 151 | const int *irqs; |
152 | int i, n, len; | 152 | int i, n, len; |
153 | unsigned long baseaddr; | 153 | unsigned long baseaddr; |
154 | 154 | ||
@@ -269,7 +269,7 @@ void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *d | |||
269 | 269 | ||
270 | void __init ebus_init(void) | 270 | void __init ebus_init(void) |
271 | { | 271 | { |
272 | struct linux_prom_pci_registers *regs; | 272 | const struct linux_prom_pci_registers *regs; |
273 | struct linux_pbm_info *pbm; | 273 | struct linux_pbm_info *pbm; |
274 | struct linux_ebus_device *dev; | 274 | struct linux_ebus_device *dev; |
275 | struct linux_ebus *ebus; | 275 | struct linux_ebus *ebus; |