commit | 8061bc6526bbc81af51dd9b4a7b8d4fc8a4d85f7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 29 11:34:52 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Thu Aug 17 16:44:16 2017 +0900 |
tree | 58d2839550dac78ea474a809c465962ba945d206 | |
parent | edc1dff5de49ce611896fdee28c530e9bd09c77b [diff] |
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>