aboutsummaryrefslogtreecommitdiff
path: root/include/dm/uclass.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-09 09:27:06 -0400
committerTom Rini <trini@konsulko.com>2021-08-09 09:27:06 -0400
commit0dec2030ccc686eae4616d1ce57d41eaed15685e (patch)
tree5e9a34e4d51c4587a2138a2de969361ad3ec1f2c /include/dm/uclass.h
parent3823315cbedf930c52fe77452063ab6d62b157be (diff)
parente679f39f7fc3eb083b2f957d748f81bbdc28f28c (diff)
Merge tag 'dm-pull-8aug21' of https://source.denx.de/u-boot/custodians/u-boot-dm
Use log subsystem for dm_warn() Various minor bug fixes
Diffstat (limited to 'include/dm/uclass.h')
-rw-r--r--include/dm/uclass.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 2778818b52..da0c1bfadb 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -159,7 +159,8 @@ void *uclass_get_priv(const struct uclass *uc);
*
* @key: ID to look up
* @ucp: Returns pointer to uclass (there is only one per ID)
- * @return 0 if OK, -ve on error
+ * @return 0 if OK, -EDEADLK if driver model is not yet inited, other -ve on
+ * other error
*/
int uclass_get(enum uclass_id key, struct uclass **ucp);