Skip to content
Commit 29fe555d authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 4b030177
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment