X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Fahci.h;h=4876b41e9010cef3077493c014db4dc9a92eadd8;hb=89f5eaa1ee9a3307e05458aa4f3b2155ab0a7144;hp=0bdedac187a8061aa46b25add56a14265c4de8f1;hpb=fa31377ef0fd1096fbeab9c240582a93c4da9f6d;p=people%2Fms%2Fu-boot.git 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;