drm/stm: dsi: Constify phy ops structure
Constify dw_mipi_dsi_stm_phy_ops as these ops are not supposed to change at runtime. Signed-off-by: Philippe CORNU <philippe.cornu@st.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/1500552357-29487-8-git-send-email-philippe.cornu@st.com
This commit is contained in:
parent
dc5e0cd211
commit
89a15e6f22
@ -261,7 +261,7 @@ dw_mipi_dsi_get_lane_mbps(void *priv_data, struct drm_display_mode *mode,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct dw_mipi_dsi_phy_ops dw_mipi_dsi_stm_phy_ops = {
|
static const struct dw_mipi_dsi_phy_ops dw_mipi_dsi_stm_phy_ops = {
|
||||||
.init = dw_mipi_dsi_phy_init,
|
.init = dw_mipi_dsi_phy_init,
|
||||||
.get_lane_mbps = dw_mipi_dsi_get_lane_mbps,
|
.get_lane_mbps = dw_mipi_dsi_get_lane_mbps,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user