]> Git Repo - u-boot.git/blobdiff - drivers/block/efi_blk.c
blk: Switch over to using uclass IDs
[u-boot.git] / drivers / block / efi_blk.c
index 9d25ecbf37ff6ed87138d593821f5b45ebca11bc..917a19f6025460be78a5a8c017039f9157674057 100644 (file)
@@ -94,7 +94,7 @@ static int efi_media_bind(struct udevice *dev)
        struct udevice *blk;
        int ret;
 
-       ret = blk_create_devicef(dev, "efi_block", "blk", IF_TYPE_EFI_MEDIA,
+       ret = blk_create_devicef(dev, "efi_block", "blk", UCLASS_EFI_MEDIA,
                                 dev_seq(dev), plat->blkio->media->block_size,
                                 plat->blkio->media->last_block, &blk);
        if (ret) {
This page took 0.038681 seconds and 4 git commands to generate.