summaryrefslogtreecommitdiff
path: root/drivers/phy/samsung/phy-samsung-ufs.h
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2022-06-07 10:29:05 +0300
committerVinod Koul <vkoul@kernel.org>2022-06-08 19:21:32 +0300
commit521f88bf4daa04ca96968be1f49a49f5a4e31488 (patch)
treea55abef434515878b6f54726791bf7bd0c0f3a57 /drivers/phy/samsung/phy-samsung-ufs.h
parent558801e82e0d24761644c70a15af523b01fbf1fb (diff)
downloadlinux-521f88bf4daa04ca96968be1f49a49f5a4e31488.tar.xz
phy: samsung: ufs: constify samsung_ufs_phy_cfg
Put const qualifier of samsung_ufs_phy_cfg pointer because they will not be changed from drvdata. Signed-off-by: Chanho Park <chanho61.park@samsung.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220607072907.127000-4-chanho61.park@samsung.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/samsung/phy-samsung-ufs.h')
-rw-r--r--drivers/phy/samsung/phy-samsung-ufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/samsung/phy-samsung-ufs.h b/drivers/phy/samsung/phy-samsung-ufs.h
index 1788b356cf56..5cd919539a3e 100644
--- a/drivers/phy/samsung/phy-samsung-ufs.h
+++ b/drivers/phy/samsung/phy-samsung-ufs.h
@@ -121,7 +121,7 @@ struct samsung_ufs_phy {
struct clk *rx0_symbol_clk;
struct clk *rx1_symbol_clk;
const struct samsung_ufs_phy_drvdata *drvdata;
- struct samsung_ufs_phy_cfg **cfgs;
+ const struct samsung_ufs_phy_cfg * const *cfgs;
const struct pmu_isol *isol;
u8 lane_cnt;
int ufs_phy_state;