]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Move ofdata_to_platdata() call earlier
authorSimon Glass <sjg@chromium.org>
Mon, 30 Dec 2019 04:19:17 +0000 (21:19 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 7 Jan 2020 23:02:38 +0000 (16:02 -0700)
commit484264712833d26e8501f44631c98f858ac957b8
tree96fa4d0d718d722e9848f5104d9a19fa299fa4fe
parent9b465626087f945455d22958b06ffd73599196ae
dm: core: Move ofdata_to_platdata() call earlier

This method is supposed to extract platform data from the device tree. It
should be done before the device itself is probed. Move it earlier in the
device_probe() function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c