aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/sbus.c
diff options
context:
space:
mode:
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) {