|
@@ -88,7 +88,7 @@ static int __init mvebu_soc_id_init(void)
|
|
}
|
|
}
|
|
|
|
|
|
pci_base = of_iomap(child, 0);
|
|
pci_base = of_iomap(child, 0);
|
|
- if (IS_ERR(pci_base)) {
|
|
|
|
|
|
+ if (pci_base == NULL) {
|
|
pr_err("cannot map registers\n");
|
|
pr_err("cannot map registers\n");
|
|
ret = -ENOMEM;
|
|
ret = -ENOMEM;
|
|
goto res_ioremap;
|
|
goto res_ioremap;
|