diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-29 04:50:16 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:37 -0400 |
commit | a165b4205e0097c7544ec3c59522a3b20ec14eb1 (patch) | |
tree | 6c4608555770b122c511d740f0180b796f75bf9b /arch/sparc64/kernel/pci.c | |
parent | f1cfdb55f16596752e8a61a8570a90ee26af183a (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.c')
-rw-r--r-- | arch/sparc64/kernel/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index 8a7c699bb10..023af41ad68 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 { |