dm: core: Correct device_get_child_by_of_offset() parameter

This parameter is named 'seq' but should be named 'of_offset'.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2015-06-23 15:38:38 -06:00
parent 2693047acd
commit 132f9bfc9e
2 changed files with 3 additions and 3 deletions

View File

@@ -386,7 +386,7 @@ int device_find_child_by_of_offset(struct udevice *parent, int of_offset,
* @devp: Returns pointer to device if found, otherwise this is set to NULL
* @return 0 if OK, -ve on error
*/
int device_get_child_by_of_offset(struct udevice *parent, int seq,
int device_get_child_by_of_offset(struct udevice *parent, int of_offset,
struct udevice **devp);
/**