Skip to content

Commit

Permalink
dm: core: add missing prototype for ofnode_read_u64
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Auer <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
lukasauer authored and Andes committed Nov 26, 2018
1 parent 111ab36 commit afb3012
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/dm/ofnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,16 @@ int ofnode_read_u32_default(ofnode ref, const char *propname, u32 def);
*/
int ofnode_read_s32_default(ofnode node, const char *propname, s32 def);

/**
* ofnode_read_u64() - Read a 64-bit integer from a property
*
* @node: valid node reference to read property from
* @propname: name of the property to read from
* @outp: place to put value (if found)
* @return 0 if OK, -ve on error
*/
int ofnode_read_u64(ofnode node, const char *propname, u64 *outp);

/**
* ofnode_read_u64_default() - Read a 64-bit integer from a property
*
Expand Down

0 comments on commit afb3012

Please sign in to comment.