]> Git Repo - u-boot.git/blobdiff - drivers/ata/fsl_sata.c
blk: Switch over to using uclass IDs
[u-boot.git] / drivers / ata / fsl_sata.c
index 6db4247368eb7ee7d5dbe0c815146b47f645d02d..972101b29ce586a0db7f271cf4c49da04f0e8224 100644 (file)
@@ -888,7 +888,7 @@ static int fsl_ata_probe(struct udevice *dev)
        for (i = 0; i < nr_ports; i++) {
                snprintf(sata_name, sizeof(sata_name), "fsl_sata%d", i);
                ret = blk_create_devicef(dev, "sata_fsl_blk", sata_name,
-                                        IF_TYPE_SATA, -1, 512, 0, &blk);
+                                        UCLASS_AHCI, -1, 512, 0, &blk);
                if (ret) {
                        debug("Can't create device\n");
                        return ret;
This page took 0.021381 seconds and 4 git commands to generate.