diff options
author | Simon Glass <sjg@chromium.org> | 2017-07-29 11:34:52 -0600 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-08-17 16:44:16 +0900 |
commit | 745fb9c25e9fd4c59e375cf8f6e2eb8ff75d6d95 (patch) | |
tree | 58d2839550dac78ea474a809c465962ba945d206 /drivers/net/enc28j60.c | |
parent | 722b150e6f51290f7c8686a5284f8770db27e140 (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>
Diffstat (limited to 'drivers/net/enc28j60.c')
0 files changed, 0 insertions, 0 deletions