commit | 5d5388d5f836946e2ca77dff16a7ca4ae2615aa2 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 05 17:10:08 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 27 14:14:37 2016 -0600 |
tree | 3e37506e9935e3ed54095c93b335d598d7eb0162 | |
parent | ad220aca829ed085d90bc212dc415b450dd858b4 [diff] |
dm: core: Add a function to bind child devices We currently use dm_scan_fdt_node() to bind devices. It is an internal function and it requires the caller to know whether we are pre- or post- relocation. This requirement has become quite common in drivers, so the current function is not ideal. Add a new function with fewer arguments, that does not require internal headers. This can be used directly as a post_bind() method if needed. Signed-off-by: Simon Glass <sjg@chromium.org>