diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-01 18:54:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-06 08:21:03 -0400 |
commit | 6b4a2a5c865f649eaaaad24068f63ef80ef5ad97 (patch) | |
tree | e5fdcc13d3c566ff077a38b9187d48f83b142429 /drivers/ata/sata_sil.h | |
parent | ebacc78e3e5c77e98216ebfe45012f7e632c2786 (diff) | |
download | u-boot-6b4a2a5c865f649eaaaad24068f63ef80ef5ad97.zip u-boot-6b4a2a5c865f649eaaaad24068f63ef80ef5ad97.tar.gz u-boot-6b4a2a5c865f649eaaaad24068f63ef80ef5ad97.tar.bz2 |
pci: sata_sil: Drop DM_PCI checks
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 'drivers/ata/sata_sil.h')
-rw-r--r-- | drivers/ata/sata_sil.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/sata_sil.h b/drivers/ata/sata_sil.h index a300c0c..bea4322 100644 --- a/drivers/ata/sata_sil.h +++ b/drivers/ata/sata_sil.h @@ -21,11 +21,7 @@ struct sil_sata { u16 pio; u16 mwdma; u16 udma; -#ifdef CONFIG_DM_PCI struct udevice *devno; -#else - pci_dev_t devno; -#endif int wcache; int flush; int flush_ext; |