From patchwork Mon Nov 2 13:16:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 7536501 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DE544BEEA4 for ; Mon, 2 Nov 2015 13:18:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17165205F0 for ; Mon, 2 Nov 2015 13:18:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AEE7B205FA for ; Mon, 2 Nov 2015 13:18:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752450AbbKBNR7 (ORCPT ); Mon, 2 Nov 2015 08:17:59 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:24838 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532AbbKBNR6 (ORCPT ); Mon, 2 Nov 2015 08:17:58 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NX600KBOVLWUJ90@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 02 Nov 2015 13:17:57 +0000 (GMT) X-AuditID: cbfec7f4-f79c56d0000012ee-03-563762843330 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id C7.47.04846.48267365; Mon, 2 Nov 2015 13:17:56 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NX600MT9VLM9S10@eusync4.samsung.com>; Mon, 02 Nov 2015 13:17:56 +0000 (GMT) From: Andrzej Hajda To: Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Kyungmin Park , linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, Kukjin Kim , Krzysztof Kozlowski Subject: [PATCH 2/7] drm/exynos/hdmi: constify global variables Date: Mon, 02 Nov 2015 14:16:40 +0100 Message-id: <1446470205-15606-3-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1446470205-15606-1-git-send-email-a.hajda@samsung.com> References: <1446470205-15606-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOLMWRmVeSWpSXmKPExsVy+t/xa7otSeZhBq8fKVjcWneO1WLjjPWs Fle+vmezmHR/AovF6xeGFv2PXzNbnG16w24x4/w+Jou1R+6yO3B6bFrVyeZxv/s4k0ffllWM Hp83yQWwRHHZpKTmZJalFunbJXBlLLv3hq1gI1/F6UVz2BoYZ/J0MXJySAiYSKy8+YgRwhaT uHBvPVsXIxeHkMBSRokXdxczQzhNTBILJ5xkA6liE9CU+Lv5JpgtIqAssWpfOztIEbPARSaJ twveMoEkhAXsJbZOOwXUzcHBIqAq0fdOGsTkFXCWWLhIGmKZnMTJY5NZQWxOAReJLd/ms4PY QiAl8x8xTWDkXcDIsIpRNLU0uaA4KT3XUK84Mbe4NC9dLzk/dxMjJLi+7GBcfMzqEKMAB6MS D2+Gu1mYEGtiWXFl7iFGCQ5mJRHeHfbmYUK8KYmVValF+fFFpTmpxYcYpTlYlMR55+56HyIk kJ5YkpqdmlqQWgSTZeLglGpgjHr0evdkvqW/kjVNz9Unn/9Qu9rMmtvF3HdCu/Djx9u4TvRE vE8927KXKyx4W//SZwfaMiUT1oX0S5vPfO724cok77ecz8w6fl9UNmlSefe5f34yy9Ls5ylv l6+tLYnmF9x+wp1Nyn+BH+P3fIvDVaIXwkWm21gJtD658MY7XP3F17dKCY9rlFiKMxINtZiL ihMBqpywySoCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These variables should not be modified. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_hdmi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index d720b77..3b92d87 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -511,15 +511,15 @@ static const struct hdmiphy_config hdmiphy_5420_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 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), @@ -528,7 +528,7 @@ static struct hdmi_driver_data exynos5420_hdmi_driver_data = { .clk_muxes = INIT_ARRAY_SPEC(hdmi_clk_muxes4), }; -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), @@ -537,7 +537,7 @@ static struct hdmi_driver_data exynos4212_hdmi_driver_data = { .clk_muxes = INIT_ARRAY_SPEC(hdmi_clk_muxes4), }; -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),