X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fahci.h;h=4876b41e9010cef3077493c014db4dc9a92eadd8;hb=5235753d15be8082d9d59cca7a54cfb0ac6d9f6c;hp=0bdedac187a8061aa46b25add56a14265c4de8f1;hpb=a70e86ffca84d2e3c8b1d8d40553cf8e3aae4896;p=u-boot diff --git a/include/ahci.h b/include/ahci.h index 0bdedac187..4876b41e90 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -145,7 +145,11 @@ struct ahci_ioports { }; struct ahci_probe_ent { +#if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI) + struct udevice *dev; +#else pci_dev_t dev; +#endif struct ahci_ioports port[AHCI_MAX_PORTS]; u32 n_ports; u32 hard_port_no;