blk: Rename if_type to uclass_id
Use the word 'uclass' instead of 'if_type' to complete the conversion. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -75,7 +75,7 @@ static int virtio_blk_bind(struct udevice *dev)
|
||||
struct blk_desc *desc = dev_get_uclass_plat(dev);
|
||||
int devnum;
|
||||
|
||||
desc->if_type = UCLASS_VIRTIO;
|
||||
desc->uclass_id = UCLASS_VIRTIO;
|
||||
/*
|
||||
* Initialize the devnum to -ENODEV. This is to make sure that
|
||||
* blk_next_free_devnum() works as expected, since the default
|
||||
|
||||
Reference in New Issue
Block a user