diff options
author | Simon Glass | 2021-08-01 18:54:25 -0600 |
---|---|---|
committer | Tom Rini | 2021-09-13 18:23:13 -0400 |
commit | d6d504d7ba8dc61dc0015ddd682bfce1dafa7dfc (patch) | |
tree | 6f17acbc81284c5103c9a7f35b427e39cae0b139 /include/ahci.h | |
parent | b717f2f2d18e630f276cce524d4d22152ada501b (diff) |
pci: acpi: Drop DM_PCI check from ahci
We don't need these checks anymore since when PCI is enabled, driver model
is always used.
Drop them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ahci.h')
-rw-r--r-- | include/ahci.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ahci.h b/include/ahci.h index fb96dd88611..d5453042d15 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -148,16 +148,12 @@ struct ahci_ioports { * where dev is the controller (although at present it sometimes stands alone). */ struct ahci_uc_priv { -#if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI) /* * TODO(sjg@chromium.org): Drop this once this structure is only used * in a driver-model context (i.e. attached to a device with * dev_get_uclass_priv() */ struct udevice *dev; -#else - pci_dev_t dev; -#endif struct ahci_ioports port[AHCI_MAX_PORTS]; u16 *ataid[AHCI_MAX_PORTS]; u32 n_ports; |