Skip to content
Snippets Groups Projects
Commit e815914c authored by Laura Abbott's avatar Laura Abbott Committed by Stephen Boyd
Browse files

cma: Fix up devicetree bindings


The correct binding for regions is linux,contiguous-regions.
Fix it.

Change-Id: I4bbb4cd3e880c75d917b5a5a081861b3197adfa3
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 2a8f78c9
Branches
Tags
No related merge requests found
...@@ -195,7 +195,7 @@ int __init cma_fdt_scan(unsigned long node, const char *uname, ...@@ -195,7 +195,7 @@ int __init cma_fdt_scan(unsigned long node, const char *uname,
__be32 *prop; __be32 *prop;
if (strncmp(uname, "region@", 7) != 0 || depth != 2 || if (strncmp(uname, "region@", 7) != 0 || depth != 2 ||
!of_get_flat_dt_prop(node, "contiguous-region", NULL)) !of_get_flat_dt_prop(node, "linux,contiguous-region", NULL))
return 0; return 0;
prop = of_get_flat_dt_prop(node, "reg", &len); prop = of_get_flat_dt_prop(node, "reg", &len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment