summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-10 22:59:29 -0400
committerTom Rini <trini@konsulko.com>2022-06-28 17:03:32 -0400
commit9836c433094ebbd8e4d06152d09b9a72013d7772 (patch)
tree8bf5f092e241eb16595e2aebe517526b4d432dfc /drivers/ata
parentaca1f6789aa2e384a58909fa7a9696db9d607675 (diff)
downloadu-boot-9836c433094ebbd8e4d06152d09b9a72013d7772.tar.gz
u-boot-9836c433094ebbd8e4d06152d09b9a72013d7772.tar.bz2
u-boot-9836c433094ebbd8e4d06152d09b9a72013d7772.zip
ata: sata_sil: Remove useless BLK guard in sata_sil.h
Now that the driver only supports CONFIG_BLK, remove the useless guard in sata_sil.h. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_sil.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/sata_sil.h b/drivers/ata/sata_sil.h
index bea4322c91..9ad09e5461 100644
--- a/drivers/ata/sata_sil.h
+++ b/drivers/ata/sata_sil.h
@@ -212,12 +212,10 @@ enum {
CMD_ERR = 0x21,
};
-#if CONFIG_IS_ENABLED(BLK)
#define ATA_MAX_PORTS 32
struct sil_sata_priv {
int port_num;
struct sil_sata *sil_sata_desc[ATA_MAX_PORTS];
};
-#endif
#endif