]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-omap2/sata.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / mach-omap2 / sata.c
index 0c8268905aa5fae593c6d19358d9cc5067278bd9..4672dc534c5efbbef5d9ebb4afee2365b0a9b60d 100644 (file)
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * TI SATA platform driver
  *
  * (C) Copyright 2013
  * Texas Instruments, <www.ti.com>
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
@@ -63,8 +62,10 @@ void scsi_init(void)
        scsi_scan(1);
 }
 
-void scsi_bus_reset(void)
+int scsi_bus_reset(struct udevice *dev)
 {
        ahci_reset((void __iomem *)DWC_AHSATA_BASE);
        ahci_init((void __iomem *)DWC_AHSATA_BASE);
+
+       return 0;
 }