summaryrefslogtreecommitdiff
path: root/api/api_storage.c
diff options
context:
space:
mode:
authorStefano Babic <[email protected]>2016-05-24 14:55:06 +0200
committerStefano Babic <[email protected]>2016-05-24 14:55:06 +0200
commit08ca213acadef61748dc62d48b0f5c4bed8b8c2d (patch)
tree36cf415b78775ee63acdfc34d636d2b7d7936a78 /api/api_storage.c
parentd15a244b059e361475302bccd471e65a48ee2b1f (diff)
parentd7d000311285e4b8d11e089ca13ea456a01be3b8 (diff)
Merge branch 'master' of git://git.denx.de/u-boot
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 8c30c56e497..d425a9ad1db 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -67,7 +67,7 @@ void dev_stor_init(void)
specs[ENUM_SATA].type = DEV_TYP_STOR | DT_STOR_SATA;
specs[ENUM_SATA].name = "sata";
#endif
-#if defined(CONFIG_CMD_SCSI)
+#if defined(CONFIG_SCSI)
specs[ENUM_SCSI].max_dev = CONFIG_SYS_SCSI_MAX_DEVICE;
specs[ENUM_SCSI].enum_started = 0;
specs[ENUM_SCSI].enum_ended = 0;