aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sabre.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-29 04:50:16 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 04:55:37 -0400
commita165b4205e0097c7544ec3c59522a3b20ec14eb1 (patch)
tree6c4608555770b122c511d740f0180b796f75bf9b /arch/sparc64/kernel/pci_sabre.c
parentf1cfdb55f16596752e8a61a8570a90ee26af183a (diff)
[SPARC64]: Fix PCI rework to adhere to of_get_property() const return.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sabre.c')
-rw-r--r--arch/sparc64/kernel/pci_sabre.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index a2f129d29c20..9a2ce0637c80 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -1015,12 +1015,12 @@ static void sabre_pbm_init(struct pci_controller_info *p, struct device_node *dp
1015 1015
1016void sabre_init(struct device_node *dp, char *model_name) 1016void sabre_init(struct device_node *dp, char *model_name)
1017{ 1017{
1018 struct linux_prom64_registers *pr_regs; 1018 const struct linux_prom64_registers *pr_regs;
1019 struct pci_controller_info *p; 1019 struct pci_controller_info *p;
1020 struct pci_iommu *iommu; 1020 struct pci_iommu *iommu;
1021 int tsbsize; 1021 int tsbsize;
1022 u32 *busrange; 1022 const u32 *busrange;
1023 u32 *vdma; 1023 const u32 *vdma;
1024 u32 upa_portid, dma_mask; 1024 u32 upa_portid, dma_mask;
1025 u64 clear_irq; 1025 u64 clear_irq;
1026 1026