drm: msm: hdmi: Constify static structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Mon, 20 Sep 2021 21:20:14 +0000 (23:20 +0200)
committerRob Clark <robdclark@chromium.org>
Fri, 15 Oct 2021 20:26:33 +0000 (13:26 -0700)
commit64739f33ee465e4065b72eb07dbc27ad9c92a938
treed28eb0e281a47aa04235737100261a541d60521a
parenta377da4b0e9ae248f99932dc74ec356dd4c5db15
drm: msm: hdmi: Constify static structs

The only usage of hdmi_8996_pll_ops is to assign its address to the ops
field in the clk_init_data struct, and the only usage of pll_init is to
assign its address to the init field in the clk_hw struct, both which
are pointers to const. Make them const to allow the compiler to put them
in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210920212014.40520-1-rikard.falkeborn@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c