summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufs.h
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-04-20 01:58:10 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-26 06:23:04 +0300
commit743b09d8541e2d6ae419bf41c4815f8be318dcc5 (patch)
treec932ba54246da3011e78ff0d9f94e28a790b4a73 /drivers/scsi/ufs/ufs.h
parent4bc26113c603073363ac96f6f1c7d6389bc0b243 (diff)
downloadlinux-743b09d8541e2d6ae419bf41c4815f8be318dcc5.tar.xz
scsi: ufs: Move the struct ufs_ref_clk definition
Move the definition of this data structure since it is only used in a single source file. Link: https://lore.kernel.org/r/20220419225811.4127248-28-bvanassche@acm.org Tested-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufs.h')
-rw-r--r--drivers/scsi/ufs/ufs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h
index 225b5b4a2a7e..f52173b8ad96 100644
--- a/drivers/scsi/ufs/ufs.h
+++ b/drivers/scsi/ufs/ufs.h
@@ -415,11 +415,6 @@ enum ufs_ref_clk_freq {
REF_CLK_FREQ_INVAL = -1,
};
-struct ufs_ref_clk {
- unsigned long freq_hz;
- enum ufs_ref_clk_freq val;
-};
-
/* Query response result code */
enum {
QUERY_RESULT_SUCCESS = 0x00,