[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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user