summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-02 03:54:25 +0300
committerTom Rini <trini@konsulko.com>2021-09-14 01:23:13 +0300
commitd6d504d7ba8dc61dc0015ddd682bfce1dafa7dfc (patch)
tree6f17acbc81284c5103c9a7f35b427e39cae0b139 /include
parentb717f2f2d18e630f276cce524d4d22152ada501b (diff)
downloadu-boot-d6d504d7ba8dc61dc0015ddd682bfce1dafa7dfc.tar.xz
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')
-rw-r--r--include/ahci.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ahci.h b/include/ahci.h
index fb96dd8861..d5453042d1 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;