[SPARC64]: Fix PCI rework to adhere to of_get_property() const return.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2007-03-29 01:50:16 -07:00
parent f1cfdb55f1
commit a165b4205e
5 changed files with 12 additions and 12 deletions

View File

@ -551,7 +551,7 @@ void __devinit of_scan_pci_bridge(struct pci_pbm_info *pbm,
ranges = of_get_property(node, "ranges", &len);
simba = 0;
if (ranges == NULL) {
char *model = of_get_property(node, "model", NULL);
const char *model = of_get_property(node, "model", NULL);
if (model && !strcmp(model, "SUNW,simba")) {
simba = 1;
} else {