]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Avoid calling dm_scan_fdt_dev() with of-platdata
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:34:52 +0000 (11:34 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:16 +0000 (16:44 +0900)
commit22c3032e5b64f1addc087ea18f7bf8ab9853f093
tree58d2839550dac78ea474a809c465962ba945d206
parent9e28038f53be63cd2097f6207eddbcd997c2c6a8
dm: core: Avoid calling dm_scan_fdt_dev() with of-platdata

We cannot call dm_scan_fdt_dev() with of-platdata since there is no device
tree. Fix this with an #if check.

Fixes: 3be9a37 (dm: syscon: scan sub-nodes of the syscon node)
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/syscon-uclass.c