summaryrefslogtreecommitdiff
path: root/api/api_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/api_storage.c')
-rw-r--r--api/api_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 8bed2f3..6fc6f44 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -63,7 +63,7 @@ void dev_stor_init(void)
specs[ENUM_MMC].type = DEV_TYP_STOR | DT_STOR_MMC;
specs[ENUM_MMC].name = "mmc";
#endif
-#if defined(CONFIG_CMD_SATA)
+#if defined(CONFIG_SATA)
specs[ENUM_SATA].max_dev = CONFIG_SYS_SATA_MAX_DEVICE;
specs[ENUM_SATA].enum_started = 0;
specs[ENUM_SATA].enum_ended = 0;