diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-11-30 12:12:31 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-12-02 14:37:26 +0100 |
commit | c002e39ae669403baf21a7e04473447387f6302d (patch) | |
tree | a8cfcc57ca70b5651ee234c6da240685ee432942 /include | |
parent | 545a284711eb767ccb67ee6746b64bb330fa9303 (diff) |
scsi: Change scsi_scan() to be able to return value
With DM_SCSI this function will return more than one return value to
cover errors.
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi.h b/include/scsi.h index eed8ff97173..c8796785a46 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -173,7 +173,7 @@ void scsi_low_level_init(int busdevfunc); * functions residing inside cmd_scsi.c */ void scsi_init(void); -void scsi_scan(int mode); +int scsi_scan(int mode); #define SCSI_IDENTIFY 0xC0 /* not used */ |