diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-18 07:55:54 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-18 07:55:54 -0500 |
commit | 19c5fdffdc41bfd606b455b46e834d1bff4b2c1e (patch) | |
tree | db1c5abebf12e9aaef80d8e22a472357027b5287 /include/dm/uclass.h | |
parent | 14ea1b3635b4af8d9e283e3671f7ee872d50b859 (diff) | |
parent | ad80a8d0877922db95fd0410314504c840d9d850 (diff) |
Merge branch '2021-01-16-assorted-improvements'
- Assorted testing improvements and fixes
- Assorted code cleanups
Diffstat (limited to 'include/dm/uclass.h')
-rw-r--r-- | include/dm/uclass.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/dm/uclass.h b/include/dm/uclass.h index b5f066dbf4..d95683740c 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h @@ -377,6 +377,17 @@ int uclass_first_device_drvdata(enum uclass_id id, ulong driver_data, struct udevice **devp); /** + * uclass_probe_all() - Probe all devices based on an uclass ID + * + * This function probes all devices associated with a uclass by + * looking for its ID. + * + * @id: uclass ID to look up + * @return 0 if OK, other -ve on error + */ +int uclass_probe_all(enum uclass_id id); + +/** * uclass_id_foreach_dev() - Helper function to iteration through devices * * This creates a for() loop which works through the available devices in |