Skip to content
Commit b98c0239 authored by Shawn Guo's avatar Shawn Guo Committed by Grant Likely
Browse files

dt: add empty of_property_read_u32[_array] for non-dt



The patch adds empty functions of_property_read_u32 and
of_property_read_u32_array for non-dt build, so that drivers
migrating to dt can save some '#ifdef CONFIG_OF'.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
[grant.likely: Moved things around so only one new static inline is needed]
[grant.likely: Added _string variant]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 5a9ebe95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment