]> Git Repo - u-boot.git/blobdiff - drivers/nvme/nvme.c
blk: Switch over to using uclass IDs
[u-boot.git] / drivers / nvme / nvme.c
index 31cf70063306a69662707b8b1f8b03d8919aab1e..3510f797e00269e3cd6b9993194c9c9b6b2f7293 100644 (file)
@@ -880,7 +880,7 @@ int nvme_init(struct udevice *udev)
                sprintf(name, "blk#%d", i);
 
                /* The real blksz and size will be set by nvme_blk_probe() */
-               ret = blk_create_devicef(udev, "nvme-blk", name, IF_TYPE_NVME,
+               ret = blk_create_devicef(udev, "nvme-blk", name, UCLASS_NVME,
                                         -1, 512, 0, &ns_udev);
                if (ret)
                        goto free_id;
This page took 0.025721 seconds and 4 git commands to generate.