summaryrefslogtreecommitdiff
path: root/include/ufs/ufshcd.h
diff options
context:
space:
mode:
authorEd Tsai <ed.tsai@mediatek.com>2026-06-15 13:57:17 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2026-07-12 14:09:42 -0400
commit7ebadbae3dd793663f313e4046c1c20e12351769 (patch)
tree50aba911fe6452e4684cee06816451f3d66dcff1 /include/ufs/ufshcd.h
parent75f529a7bcd4aaac7cf73dc885041d7f66403570 (diff)
downloadlinux-next-7ebadbae3dd793663f313e4046c1c20e12351769.tar.gz
linux-next-7ebadbae3dd793663f313e4046c1c20e12351769.zip
scsi: ufs: core: Remove max_num_rtt field from ufs_hba_variant_ops
Remove the max_num_rtt field from ufs_hba_variant_ops as it has been replaced by the get_hba_nortt() callback which provides more flexible platform-specific RTT capability handling. Signed-off-by: Ed Tsai <ed.tsai@mediatek.com> Reviewed-by: Peter Wang <peter.wang@mediatek.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/20260615055802.105479-4-ed.tsai@mediatek.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs/ufshcd.h')
-rw-r--r--include/ufs/ufshcd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
index 8e24c4b8e963..36ffe87d2cd5 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -372,7 +372,6 @@ struct ufshcd_tx_eq_params {
/**
* struct ufs_hba_variant_ops - variant specific callbacks
* @name: variant name
- * @max_num_rtt: maximum RTT supported by the host
* @init: called when the driver is initialized
* @exit: called to cleanup everything done in init
* @set_dma_mask: For setting another DMA mask than indicated by the 64AS
@@ -422,7 +421,6 @@ struct ufshcd_tx_eq_params {
*/
struct ufs_hba_variant_ops {
const char *name;
- int max_num_rtt;
int (*init)(struct ufs_hba *);
void (*exit)(struct ufs_hba *);
u32 (*get_ufs_hci_version)(struct ufs_hba *);