]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/block/dwc_ahsata.c
dm: Drop the block_dev_desc_t typedef
[people/ms/u-boot.git] / drivers / block / dwc_ahsata.c
index bc072f335f63529f23987a1bb2b608ed7a3d01d3..6ec52a9114b468ced0fffc0f70b7aea2bf29f9b5 100644 (file)
@@ -620,7 +620,7 @@ int reset_sata(int dev)
 
 static void dwc_ahsata_print_info(int dev)
 {
-       block_dev_desc_t *pdev = &(sata_dev_desc[dev]);
+       struct blk_desc *pdev = &(sata_dev_desc[dev]);
 
        printf("SATA Device Info:\n\r");
 #ifdef CONFIG_SYS_64BIT_LBA
@@ -956,7 +956,7 @@ int scan_sata(int dev)
        struct ahci_probe_ent *probe_ent =
                (struct ahci_probe_ent *)sata_dev_desc[dev].priv;
        u8 port = probe_ent->hard_port_no;
-       block_dev_desc_t *pdev = &(sata_dev_desc[dev]);
+       struct blk_desc *pdev = &(sata_dev_desc[dev]);
 
        id = (u16 *)memalign(ARCH_DMA_MINALIGN,
                                roundup(ARCH_DMA_MINALIGN,