]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/dm/device.h
dm: core: Correct device_get_child_by_of_offset() parameter
[karo-tx-uboot.git] / include / dm / device.h
index 9a94ee19d9cdb58e95a3f0074c78ab6db41b5319..9fa0048bd0a4448b481071d5aae8b14c7d063898 100644 (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);
 
 /**