From patchwork Fri Jun 2 17:58:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9763147 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9D32602BF for ; Fri, 2 Jun 2017 17:58:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA9FC28579 for ; Fri, 2 Jun 2017 17:58:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C5E9285A0; Fri, 2 Jun 2017 17:58:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16AE328579 for ; Fri, 2 Jun 2017 17:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751211AbdFBR6f (ORCPT ); Fri, 2 Jun 2017 13:58:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48198 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161AbdFBR6e (ORCPT ); Fri, 2 Jun 2017 13:58:34 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E24DB60998; Fri, 2 Jun 2017 17:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1496426313; bh=T9EeCA/CSk+oLUfd4e5scOHf3sZHZzpxMPW+q6ofjUk=; h=From:To:Cc:Subject:Date:From; b=K3bC6cndF5s8u0ukb/fWkLOdOckt/URrw/v2gd6H2JOVQt3az3BJcM1Lf0h+MRpVo t0g9xQstBR73Wo+BHu8Yapqw0P4Igf0Enw2n59mwPRCKAT9e0cMPqJxai/cgkZwbVB c5q0b1ibbHg02TZtL8OIJJM8CCACWyWs2sZXebkA= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CCF3A6014C; Fri, 2 Jun 2017 17:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1496426313; bh=T9EeCA/CSk+oLUfd4e5scOHf3sZHZzpxMPW+q6ofjUk=; h=From:To:Cc:Subject:Date:From; b=K3bC6cndF5s8u0ukb/fWkLOdOckt/URrw/v2gd6H2JOVQt3az3BJcM1Lf0h+MRpVo t0g9xQstBR73Wo+BHu8Yapqw0P4Igf0Enw2n59mwPRCKAT9e0cMPqJxai/cgkZwbVB c5q0b1ibbHg02TZtL8OIJJM8CCACWyWs2sZXebkA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CCF3A6014C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Neil Armstrong , Jerome Brunet Subject: [PATCH] clk: meson-gxbb: Add const to some parent name arrays Date: Fri, 2 Jun 2017 10:58:31 -0700 Message-Id: <20170602175831.29100-1-sboyd@codeaurora.org> X-Mailer: git-send-email 2.13.0.67.g10c78a162fa8 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These can be marked as const * const. Cc: Neil Armstrong Cc: Jerome Brunet Signed-off-by: Stephen Boyd --- drivers/clk/meson/gxbb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 2919a0e044a5..36c0e455437e 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -701,7 +701,7 @@ static struct clk_gate gxbb_sar_adc_clk = { */ static u32 mux_table_mali_0_1[] = {0, 1, 2, 3, 4, 5, 6, 7}; -static const char *gxbb_mali_0_1_parent_names[] = { +static const char * const gxbb_mali_0_1_parent_names[] = { "xtal", "gp0_pll", "mpll2", "mpll1", "fclk_div7", "fclk_div4", "fclk_div3", "fclk_div5" }; @@ -801,7 +801,7 @@ static struct clk_gate gxbb_mali_1 = { }; static u32 mux_table_mali[] = {0, 1}; -static const char *gxbb_mali_parent_names[] = { +static const char * const gxbb_mali_parent_names[] = { "mali_0", "mali_1" }; @@ -953,7 +953,7 @@ static struct clk_gate gxbb_32k_clk = { }, }; -static const char *gxbb_32k_clk_parent_names[] = { +static const char * const gxbb_32k_clk_parent_names[] = { "xtal", "cts_slow_oscin", "fclk_div3", "fclk_div5" };