diff options
author | Simon Glass | 2018-06-11 13:07:17 -0600 |
---|---|---|
committer | Simon Glass | 2018-07-09 09:11:00 -0600 |
commit | 5e0a7341cdda182f310624d5c336fb48be04a703 (patch) | |
tree | 1b589315dc431673be8fa88d80bad18ec1f6393a /include/dm/of_extra.h | |
parent | 008dcddf9937bd2576f98b48eb5bf0f60ad36014 (diff) |
dm: core: Update of_read_fmap_entry() for livetree
Update this function to take an ofnode so that it can work with livetree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/of_extra.h')
-rw-r--r-- | include/dm/of_extra.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/dm/of_extra.h b/include/dm/of_extra.h index 6f1529689f8..e1540c1fbdc 100644 --- a/include/dm/of_extra.h +++ b/include/dm/of_extra.h @@ -34,12 +34,10 @@ struct fmap_entry { /** * Read a flash entry from the fdt * - * @param node Reference to node to read - * @param name Name of node being read + * @param node Reference to node to read * @param entry Place to put offset and size of this node * @return 0 if ok, -ve on error */ -int of_read_fmap_entry(ofnode node, const char *name, - struct fmap_entry *entry); +int ofnode_read_fmap_entry(ofnode node, struct fmap_entry *entry); #endif |