From patchwork Fri Apr 7 19:23:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9670277 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 39EA7602A0 for ; Fri, 7 Apr 2017 19:23:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23A3C2863E for ; Fri, 7 Apr 2017 19:23:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1883728642; Fri, 7 Apr 2017 19:23:44 +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 8ECE12863E for ; Fri, 7 Apr 2017 19:23:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755483AbdDGTXn (ORCPT ); Fri, 7 Apr 2017 15:23:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49228 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753327AbdDGTXm (ORCPT ); Fri, 7 Apr 2017 15:23:42 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 80D8660A0A; Fri, 7 Apr 2017 19:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1491593020; bh=h4yDiWqnWQXt016OBFEV2YVUV+/FHh5ZxXSWEPtdyGk=; h=From:To:Cc:Subject:Date:From; b=lt2LqHlZ9lyHXY4sxsDTAguxsv7E+bw7pQdkRvlo/U8EZNMaIbt+bFYOFFGZsRyVk h9qSNFLz2ipHS4c46HTaLvsaOCsDAAVP7G5sMrEfBdbQgEBNK76wC4Q3ImnMgiwphx 3HXjF6Oc+GT/4AzHRrX05yzccrfE41GktcDx4bF8= 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 9125D60732; Fri, 7 Apr 2017 19:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1491593020; bh=h4yDiWqnWQXt016OBFEV2YVUV+/FHh5ZxXSWEPtdyGk=; h=From:To:Cc:Subject:Date:From; b=lt2LqHlZ9lyHXY4sxsDTAguxsv7E+bw7pQdkRvlo/U8EZNMaIbt+bFYOFFGZsRyVk h9qSNFLz2ipHS4c46HTaLvsaOCsDAAVP7G5sMrEfBdbQgEBNK76wC4Q3ImnMgiwphx 3HXjF6Oc+GT/4AzHRrX05yzccrfE41GktcDx4bF8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9125D60732 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, Shawn Guo , Jun Nie Subject: [PATCH] clk: zte: Mark pll config tables as const Date: Fri, 7 Apr 2017 12:23:38 -0700 Message-Id: <20170407192338.30905-1-sboyd@codeaurora.org> X-Mailer: git-send-email 2.12.1.432.gf364f02724d6 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 should be const. Cc: Shawn Guo Cc: Jun Nie Signed-off-by: Stephen Boyd Acked-by: Shawn Guo --- drivers/clk/zte/clk-zx296718.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/zte/clk-zx296718.c b/drivers/clk/zte/clk-zx296718.c index 8db0119bc6f7..a10962988ba8 100644 --- a/drivers/clk/zte/clk-zx296718.c +++ b/drivers/clk/zte/clk-zx296718.c @@ -94,14 +94,14 @@ static DEFINE_SPINLOCK(clk_lock); -static struct zx_pll_config pll_cpu_table[] = { +static const struct zx_pll_config pll_cpu_table[] = { PLL_RATE(1312000000, 0x00103621, 0x04aaaaaa), PLL_RATE(1407000000, 0x00103a21, 0x04aaaaaa), PLL_RATE(1503000000, 0x00103e21, 0x04aaaaaa), PLL_RATE(1600000000, 0x00104221, 0x04aaaaaa), }; -static struct zx_pll_config pll_vga_table[] = { +static const struct zx_pll_config pll_vga_table[] = { PLL_RATE(36000000, 0x00102464, 0x04000000), /* 800x600@56 */ PLL_RATE(40000000, 0x00102864, 0x04000000), /* 800x600@60 */ PLL_RATE(49500000, 0x00103164, 0x04800000), /* 800x600@75 */