Skip to content
Commit 512ed81e authored by Quentin Schulz's avatar Quentin Schulz Committed by Tom Rini
Browse files

smbios: only look for a SYSINFO udevice if SYSINFO support is enabled



If SYSINFO support isn't enabled, it's a given that uclass_first_device
for UCLASS_SYSINFO will not find anything, therefore let's skip the test
entirely.

This allows to get rid of the following debug message that may be
confusing:

Cannot find uclass for id 118: please add the UCLASS_DRIVER() declaration for this UCLASS_... id

Signed-off-by: default avatarQuentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ca4becc1
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