]> git.sur5r.net Git - u-boot/blobdiff - drivers/scsi/sandbox_scsi.c
sf: add paired dev info for winbond w25q16jv
[u-boot] / drivers / scsi / sandbox_scsi.c
index d943d1f9daf1e9a8b13b852a075785b785c5a158..39b969a4b2f1b359ccba98879f3f4f062e257416 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  * This file contains dummy implementations of SCSI functions requried so
  * that CONFIG_SCSI can be enabled for sandbox.
  */
 #include <common.h>
 #include <scsi.h>
 
-void scsi_bus_reset(void)
+int scsi_bus_reset(struct udevice *dev)
 {
+       return 0;
 }
 
 void scsi_init(void)
 {
 }
 
-int scsi_exec(struct scsi_cmd *pccb)
+int scsi_exec(struct udevice *dev, struct scsi_cmd *pccb)
 {
        return 0;
 }