summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-10-24 13:08:44 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:54:10 +0900
commitc635c80679bc31b85d5e1d09454df6f687b91a3f (patch)
treebe5e65a1dc836374a28300a96c2f45423e22ca22
parent74429f0af15a232b8e12c240bc51733f2510f29b (diff)
drm/exynos/hdmi: constify global variables
These variables should not be modified. Change-Id: I9cef5d79465e24d3bc1d825afb94cccc09ff1756 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmi.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index a769587f78e7..44edff8573d9 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -639,24 +639,24 @@ static const struct hdmiphy_config hdmiphy_5430_configs[] = {
},
};
-static const char *hdmi_clk_gates4[] = {
+static const char * const hdmi_clk_gates4[] = {
"hdmi", "sclk_hdmi"
};
-static const char *hdmi_clk_muxes4[] = {
+static const char * const hdmi_clk_muxes4[] = {
"sclk_pixel", "sclk_hdmiphy", "mout_hdmi"
};
-static const char *hdmi_clk_gates5430[] = {
+static const char * const hdmi_clk_gates5430[] = {
"hdmi_pclk", "hdmi_i_pclk", "i_tmds_clk", "i_pixel_clk", "i_spdif_clk"
};
-static const char *hdmi_clk_muxes5430[] = {
+static const char * const hdmi_clk_muxes5430[] = {
"oscclk", "tmds_clko", "tmds_clko_user",
"oscclk", "pixel_clko", "pixel_clko_user"
};
-static struct hdmi_driver_data exynos5430_hdmi_driver_data = {
+static const struct hdmi_driver_data exynos5430_hdmi_driver_data = {
.type = HDMI_TYPE14,
.phy_confs = hdmiphy_5430_configs,
.phy_conf_count = ARRAY_SIZE(hdmiphy_5430_configs),
@@ -669,7 +669,7 @@ static struct hdmi_driver_data exynos5430_hdmi_driver_data = {
.phy_mode_set_done = HDMIPHY5433_MODE_SET_DONE,
};
-static struct hdmi_driver_data exynos5420_hdmi_driver_data = {
+static const struct hdmi_driver_data exynos5420_hdmi_driver_data = {
.type = HDMI_TYPE14,
.phy_confs = hdmiphy_5420_configs,
.phy_conf_count = ARRAY_SIZE(hdmiphy_5420_configs),
@@ -679,7 +679,7 @@ static struct hdmi_driver_data exynos5420_hdmi_driver_data = {
.phy_mode_set_done = HDMIPHY_MODE_SET_DONE,
};
-static struct hdmi_driver_data exynos4212_hdmi_driver_data = {
+static const struct hdmi_driver_data exynos4212_hdmi_driver_data = {
.type = HDMI_TYPE14,
.phy_confs = hdmiphy_v14_configs,
.phy_conf_count = ARRAY_SIZE(hdmiphy_v14_configs),
@@ -689,7 +689,7 @@ static struct hdmi_driver_data exynos4212_hdmi_driver_data = {
.phy_mode_set_done = HDMIPHY_MODE_SET_DONE,
};
-static struct hdmi_driver_data exynos4210_hdmi_driver_data = {
+static const struct hdmi_driver_data exynos4210_hdmi_driver_data = {
.type = HDMI_TYPE13,
.phy_confs = hdmiphy_v13_configs,
.phy_conf_count = ARRAY_SIZE(hdmiphy_v13_configs),
@@ -699,7 +699,7 @@ static struct hdmi_driver_data exynos4210_hdmi_driver_data = {
.phy_mode_set_done = HDMIPHY_MODE_SET_DONE,
};
-static struct hdmi_driver_data exynos5_hdmi_driver_data = {
+static const struct hdmi_driver_data exynos5_hdmi_driver_data = {
.type = HDMI_TYPE14,
.phy_confs = hdmiphy_v13_configs,
.phy_conf_count = ARRAY_SIZE(hdmiphy_v13_configs),