aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/sbus.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-23 18:53:27 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 04:54:24 -0400
commit6a23acf3905287eb952a6f1dbbc8fb3e4eeae2f6 (patch)
tree71c1874e6ae1e00df81b5df5b78e3935f93f298b /arch/sparc64/kernel/sbus.c
parent8271f04242af8ddf8390f289cd6ef78fb3e3c6d9 (diff)
[SPARC64]: constify of_get_property return: arch/sparc64
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sbus.c')
-rw-r--r--arch/sparc64/kernel/sbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/sbus.c b/arch/sparc64/kernel/sbus.c
index 14f78fb5e890..d403f3df2dc2 100644
--- a/arch/sparc64/kernel/sbus.c
+++ b/arch/sparc64/kernel/sbus.c
@@ -1025,7 +1025,7 @@ static void __init sysio_register_error_handlers(struct sbus_bus *sbus)
1025/* Boot time initialization. */ 1025/* Boot time initialization. */
1026static void __init sbus_iommu_init(int __node, struct sbus_bus *sbus) 1026static void __init sbus_iommu_init(int __node, struct sbus_bus *sbus)
1027{ 1027{
1028 struct linux_prom64_registers *pr; 1028 const struct linux_prom64_registers *pr;
1029 struct device_node *dp; 1029 struct device_node *dp;
1030 struct sbus_iommu *iommu; 1030 struct sbus_iommu *iommu;
1031 unsigned long regs; 1031 unsigned long regs;
@@ -1133,7 +1133,7 @@ static void __init sbus_iommu_init(int __node, struct sbus_bus *sbus)
1133void sbus_fill_device_irq(struct sbus_dev *sdev) 1133void sbus_fill_device_irq(struct sbus_dev *sdev)
1134{ 1134{
1135 struct device_node *dp = of_find_node_by_phandle(sdev->prom_node); 1135 struct device_node *dp = of_find_node_by_phandle(sdev->prom_node);
1136 struct linux_prom_irqs *irqs; 1136 const struct linux_prom_irqs *irqs;
1137 1137
1138 irqs = of_get_property(dp, "interrupts", NULL); 1138 irqs = of_get_property(dp, "interrupts", NULL);
1139 if (!irqs) { 1139 if (!irqs) {