summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:38 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:23 -0600
commit132f9bfc9ed0761fe349d2609918fa8a61e20692 (patch)
tree2c2156d94188ce7e7e0a13f8b8098db62179f44f /include
parent2693047acdcdae20b066715d0da4937814347935 (diff)
downloadtalos-obmc-uboot-132f9bfc9ed0761fe349d2609918fa8a61e20692.tar.gz
talos-obmc-uboot-132f9bfc9ed0761fe349d2609918fa8a61e20692.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/dm/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 9a94ee19d9..9fa0048bd0 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -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);
/**
OpenPOWER on IntegriCloud