Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 414587c7 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

of: Make of_get_ddrtype module friendly



The APIs fdt_path_offset() and fdt_getprop_w() are not exported.
As a result, drivers that are compiled as modules cannot directly
use them. Hence, switch to of_find_node_by_path() and
of_property_read_u32() to achive the same functionality while also
being module friendly.

Change-Id: I90b299c60b60a006d0932442549c5d5a20cf2ea0
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent a75e17c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment