|
@@ -188,7 +188,7 @@ static int __init __reserved_mem_init_node(struct reserved_mem *rmem)
|
|
if (!of_flat_dt_is_compatible(rmem->fdt_node, compat))
|
|
if (!of_flat_dt_is_compatible(rmem->fdt_node, compat))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (initfn(rmem, rmem->fdt_node, rmem->name) == 0) {
|
|
|
|
|
|
+ if (initfn(rmem) == 0) {
|
|
pr_info("Reserved memory: initialized node %s, compatible id %s\n",
|
|
pr_info("Reserved memory: initialized node %s, compatible id %s\n",
|
|
rmem->name, compat);
|
|
rmem->name, compat);
|
|
return 0;
|
|
return 0;
|