summaryrefslogtreecommitdiff
path: root/drivers/block/ahci.c
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2014-12-15 16:02:56 +0200
committerTom Rini <trini@ti.com>2015-01-05 15:13:46 -0500
commit1a33b7356afb065fd80250a022f4881adbaac939 (patch)
tree754e73ff8cd807b71996df7ad72f14453ca32f1d /drivers/block/ahci.c
parent6b68888a3385ca5abc0ee647873052720e8bffe3 (diff)
ahci-plat: provide a weak scsi_bus_reset() hook
This allow the platform to handle a custom reset sequence. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/block/ahci.c')
-rw-r--r--drivers/block/ahci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c
index 12ed5e3635..37d2d2a28e 100644
--- a/drivers/block/ahci.c
+++ b/drivers/block/ahci.c
@@ -1010,12 +1010,11 @@ static int ata_io_flush(u8 port)
}
-void scsi_bus_reset(void)
+__weak void scsi_bus_reset(void)
{
/*Not implement*/
}
-
void scsi_print_error(ccb * pccb)
{
/*The ahci error info can be read in the ahci driver*/