|
@@ -225,7 +225,7 @@ void __of_attach_node(struct device_node *np)
|
|
|
phandle = __of_get_property(np, "phandle", &sz);
|
|
|
if (!phandle)
|
|
|
phandle = __of_get_property(np, "linux,phandle", &sz);
|
|
|
- if (IS_ENABLED(PPC_PSERIES) && !phandle)
|
|
|
+ if (IS_ENABLED(CONFIG_PPC_PSERIES) && !phandle)
|
|
|
phandle = __of_get_property(np, "ibm,phandle", &sz);
|
|
|
np->phandle = (phandle && (sz >= 4)) ? be32_to_cpup(phandle) : 0;
|
|
|
|