Skip to content
Commit bcd90cb6 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Export a new function to read platdata



Add a new internal function, device_ofdata_to_platdata() to handle
allocating private space associated with each device and reading the
platform data from the device tree.

Call this new function from device_probe().

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 04e19ffd
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