diff options
author | Bernard Zhao <bernard@vivo.com> | 2020-04-26 11:01:42 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2020-05-18 04:36:00 +0200 |
commit | a046e7bf4e27d77a34595778945adbd4450d803a (patch) | |
tree | 8167c9d147dd0a6dbec6d15bc571c75f901b8ade /drivers/gpu/drm/exynos/exynos_drm_dsi.c | |
parent | drm/exynos: gem: Get rid of the internal 'pages' array (diff) | |
download | linux-a046e7bf4e27d77a34595778945adbd4450d803a.tar.xz linux-a046e7bf4e27d77a34595778945adbd4450d803a.zip |
drm/exynos: make pointer to const data const type
Maybe keep pointer which points to global const string data
in const type is better, make sure not change const data.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_dsi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 958e2c6a6702..eb1486d2dd22 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -212,7 +212,7 @@ #define OLD_SCLK_MIPI_CLK_NAME "pll_clk" -static char *clk_names[5] = { "bus_clk", "sclk_mipi", +static const char *const clk_names[5] = { "bus_clk", "sclk_mipi", "phyclk_mipidphy0_bitclkdiv8", "phyclk_mipidphy0_rxclkesc0", "sclk_rgb_vclk_to_dsim0" }; |