prop = fdt_getprop(blob, offs, "reset-switch", NULL);
if (prop)
- ph1 = be32_to_cpu(*prop);
+ ph1 = fdt32_to_cpu(*prop);
prop = fdt_getprop(blob, offs, "wake-switch", NULL);
if (prop)
- ph2 = be32_to_cpu(*prop);
+ ph2 = fdt32_to_cpu(*prop);
debug("Removing node '%s' from DT\n", name);
fdt_del_node(blob, offs);
phandle = fdt_getprop(blob, offset, "transceiver-switch", NULL);
if (phandle) {
- ph = be32_to_cpu(*phandle);
+ ph = fdt32_to_cpu(*phandle);
}
debug("Removing property '%s' from node %s@%08lx\n", prop, compat, offs);