aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index 8a7c699bb109..023af41ad68d 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -551,7 +551,7 @@ void __devinit of_scan_pci_bridge(struct pci_pbm_info *pbm,
551 ranges = of_get_property(node, "ranges", &len); 551 ranges = of_get_property(node, "ranges", &len);
552 simba = 0; 552 simba = 0;
553 if (ranges == NULL) { 553 if (ranges == NULL) {
554 char *model = of_get_property(node, "model", NULL); 554 const char *model = of_get_property(node, "model", NULL);
555 if (model && !strcmp(model, "SUNW,simba")) { 555 if (model && !strcmp(model, "SUNW,simba")) {
556 simba = 1; 556 simba = 1;
557 } else { 557 } else {