aboutsummaryrefslogtreecommitdiff
path: root/include/dm/uclass-id.h
diff options
context:
space:
mode:
authorSimon Glass2021-10-23 17:26:09 -0600
committerSimon Glass2021-11-28 16:51:51 -0700
commit29fe555dec4c18096ab1ddd51398317160359ba1 (patch)
tree071caf2042aaadff4ebe4fb698a2aba4ba4d3b76 /include/dm/uclass-id.h
parent4b030177b6608bc6f2508e023089112e8adb2f4b (diff)
dm: core: Add a way to count the devices in a uclass
Add a function that returns the number of devices in a uclass. This can be helpful in sizing an array that needs to hold a list of them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/uclass-id.h')
0 files changed, 0 insertions, 0 deletions