scsi: ufs: host: mediatek: Make read-only array scale_us static const

Don't populate the read-only array scale_us on the stack at run time,
instead make it static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Link: https://patch.msgid.link/20251219214428.492744-1-colin.i.king@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by Colin Ian King and committed by Martin K. Petersen 309a29b5 d0f6cfb4

+1 -1
+1 -1
drivers/ufs/host/ufs-mediatek.c
··· 1112 1112 unsigned long flags; 1113 1113 u32 ah_ms = 10; 1114 1114 u32 ah_scale, ah_timer; 1115 - u32 scale_us[] = {1, 10, 100, 1000, 10000, 100000}; 1115 + static const u32 scale_us[] = {1, 10, 100, 1000, 10000, 100000}; 1116 1116 1117 1117 if (ufshcd_is_clkgating_allowed(hba)) { 1118 1118 if (ufshcd_is_auto_hibern8_supported(hba) && hba->ahit) {