summaryrefslogtreecommitdiffstats
path: root/drivers/block/ata_piix.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/ata_piix.h')
-rw-r--r--drivers/block/ata_piix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ata_piix.h b/drivers/block/ata_piix.h
index f9f0194706..11885af20e 100644
--- a/drivers/block/ata_piix.h
+++ b/drivers/block/ata_piix.h
@@ -88,7 +88,7 @@ int init_sata (int dev);
#endif
#ifdef DRV_DECL /*Defines Driver Specific variables */
-struct sata_port port[CFG_SATA_MAXBUS];
+struct sata_port port[CONFIG_SYS_SATA_MAXBUS];
#endif
#endif /* __ATA_PIIX_H__ */
OpenPOWER on IntegriCloud