OSDN Git Service

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

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