summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hisi_sas/hisi_sas.h
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2015-11-18 00:50:44 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-25 22:12:58 -0500
commit9fb10b54861f481de4c484a67a60d981e54fe9a1 (patch)
tree172afe916a92729aadd3f7e51359ad8a9e5d673e /drivers/scsi/hisi_sas/hisi_sas.h
parentfa42d80dc3c5196b0359fab9a212cc4ede257502 (diff)
downloadtalos-obmc-linux-9fb10b54861f481de4c484a67a60d981e54fe9a1.tar.gz
talos-obmc-linux-9fb10b54861f481de4c484a67a60d981e54fe9a1.zip
hisi_sas: Add v1 hw module init
Add module init code for v1 hw. Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas.h')
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index 3749c46bc6d0..72533cae320d 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/hisi_sas.h
@@ -269,5 +269,8 @@ union hisi_sas_command_table {
struct hisi_sas_command_table_smp smp;
struct hisi_sas_command_table_stp stp;
};
+extern int hisi_sas_probe(struct platform_device *pdev,
+ const struct hisi_sas_hw *ops);
+extern int hisi_sas_remove(struct platform_device *pdev);
#endif
OpenPOWER on IntegriCloud