diff options
author | Simon Glass <sjg@chromium.org> | 2020-01-27 18:49:53 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-06 05:33:46 +0300 |
commit | eb7387ae14ef88ecba85d569de978da776ea4f09 (patch) | |
tree | 322647ee00bba89ef97d1b5b19f137aac4d572e3 /common/console.c | |
parent | b83994dec7addcd5fecd0bfd2f734223eb0462f0 (diff) | |
download | u-boot-eb7387ae14ef88ecba85d569de978da776ea4f09.tar.xz |
sandbox: pmic: Correct i2c pmic emulator platdata method
This currently reads the uclass's private data in the ofdata_to_platdata
method which is not allowed, since the uclass has not read it from the
device tree. This happens in the probe method.
Fix it by adding a probe() method and moving the code there.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions