dm: blk: Add a function to return the device type
Use the uclass name to get the device type for a block device.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment
Use the uclass name to get the device type for a block device.
Signed-off-by:
Simon Glass <sjg@chromium.org>