summaryrefslogtreecommitdiff
path: root/include/ahci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ahci.h')
-rw-r--r--include/ahci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ahci.h b/include/ahci.h
index 4876b41..a956c6f 100644
--- a/include/ahci.h
+++ b/include/ahci.h
@@ -145,7 +145,7 @@ struct ahci_ioports {
};
struct ahci_probe_ent {
-#if defined(CONFIG_DM_PCI) || defined(CONFIG_DM_SCSI)
+#ifdef CONFIG_DM_PCI
struct udevice *dev;
#else
pci_dev_t dev;