mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user