scsi: hisi_sas: relocate sata_done_v2_hw()
authorXiang Chen <chenxiang66@hisilicon.com>
Wed, 14 Jun 2017 15:33:15 +0000 (23:33 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Jun 2017 01:31:25 +0000 (21:31 -0400)
commit759040770dbc7c8c53aa23552d2d955e80c91ce6
tree48c2c89768497e3a2d7cc45e88d564fe88896d83
parent6c7bb8a1942a2a11b77f208910fc57047c62c77b
scsi: hisi_sas: relocate sata_done_v2_hw()

Relocate get_ata_protocol() to a common location, as future hw versions
will require it.  Also rename with "hisi_sas_" prefix for consistency.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c