summaryrefslogtreecommitdiff
path: root/common/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/scsi.c')
-rw-r--r--common/scsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/scsi.c b/common/scsi.c
index ba65616..839b30b 100644
--- a/common/scsi.c
+++ b/common/scsi.c
@@ -524,7 +524,7 @@ removable:
* (re)-scan the scsi bus and reports scsi device info
* to the user if mode = 1
*/
-void scsi_scan(int mode)
+int scsi_scan(int mode)
{
unsigned char i, lun;
int ret;
@@ -558,6 +558,7 @@ void scsi_scan(int mode)
#ifndef CONFIG_SPL_BUILD
setenv_ulong("scsidevs", scsi_max_devs);
#endif
+ return 0;
}
#ifdef CONFIG_BLK