]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - drivers/scsi/hisi_sas/hisi_sas.h
scsi: hisi_sas: relocate clearing ITCT and freeing device
[mirror_ubuntu-focal-kernel.git] / drivers / scsi / hisi_sas / hisi_sas.h
index 83357b0367d82a2f4fa68364a427e93a6b5459d5..b2534caed45a30097f50865f97d7728a9900f2d8 100644 (file)
@@ -205,8 +205,9 @@ struct hisi_sas_hw {
        void (*phy_set_linkrate)(struct hisi_hba *hisi_hba, int phy_no,
                        struct sas_phy_linkrates *linkrates);
        enum sas_linkrate (*phy_get_max_linkrate)(void);
-       void (*free_device)(struct hisi_hba *hisi_hba,
+       void (*clear_itct)(struct hisi_hba *hisi_hba,
                            struct hisi_sas_device *dev);
+       void (*free_device)(struct hisi_sas_device *sas_dev);
        int (*get_wideport_bitmap)(struct hisi_hba *hisi_hba, int port_id);
        void (*dereg_device)(struct hisi_hba *hisi_hba,
                                struct domain_device *device);