aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_schizo.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_schizo.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_schizo.c')
-rw-r--r--arch/sparc64/kernel/pci_schizo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c
index 322cdbf50eff..47a5aa94dcae 100644
--- a/arch/sparc64/kernel/pci_schizo.c
+++ b/arch/sparc64/kernel/pci_schizo.c
@@ -1490,11 +1490,11 @@ static void schizo_pbm_init(struct pci_controller_info *p,
1490 struct device_node *dp, u32 portid, 1490 struct device_node *dp, u32 portid,
1491 int chip_type) 1491 int chip_type)
1492{ 1492{
1493 struct linux_prom64_registers *regs; 1493 const struct linux_prom64_registers *regs;
1494 unsigned int *busrange; 1494 const unsigned int *busrange;
1495 struct pci_pbm_info *pbm; 1495 struct pci_pbm_info *pbm;
1496 const char *chipset_name; 1496 const char *chipset_name;
1497 u32 *ino_bitmap; 1497 const u32 *ino_bitmap;
1498 int is_pbm_a; 1498 int is_pbm_a;
1499 1499
1500 switch (chip_type) { 1500 switch (chip_type) {