diff options
author | Tom Rini <trini@konsulko.com> | 2016-01-12 18:12:42 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-12 18:12:42 -0500 |
commit | 077678eb0c226e52a1f90edabd3369ab26065b32 (patch) | |
tree | e8bf70144f896a1ea09f694fe1182ba305b25df9 /include/ahci.h | |
parent | e69514cc7087255d0e9754a9bf04129309d81ed5 (diff) | |
parent | ab971e192adcf0a501c8998542ab116512c0c260 (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/ahci.h')
-rw-r--r-- | include/ahci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h index 0bdedac187a..a956c6ff5df 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -145,7 +145,11 @@ struct ahci_ioports { }; struct ahci_probe_ent { +#ifdef CONFIG_DM_PCI + struct udevice *dev; +#else pci_dev_t dev; +#endif struct ahci_ioports port[AHCI_MAX_PORTS]; u32 n_ports; u32 hard_port_no; |