Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751363AbdH1Jnk (ORCPT ); Mon, 28 Aug 2017 05:43:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:54096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750837AbdH1Jnj (ORCPT ); Mon, 28 Aug 2017 05:43:39 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF2D021A31 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org Date: Mon, 28 Aug 2017 17:43:14 +0800 From: Shawn Guo To: Arvind Yadav Cc: kernel@pengutronix.de, fabio.estevam@nxp.com, mturquette@baylibre.com, sboyd@codeaurora.org, jun.nie@linaro.org, baoyou.xie@linaro.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] clk: zte: constify clk_div_table Message-ID: <20170828094313.GB3525@dragon> References: <1503898133-10862-1-git-send-email-arvind.yadav.cs@gmail.com> <1503898133-10862-3-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503898133-10862-3-git-send-email-arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 372 Lines: 8 On Mon, Aug 28, 2017 at 10:58:53AM +0530, Arvind Yadav wrote: > clk_div_table are not supposed to change at runtime. All functions > working with clk_div_table provided by work > with const clk_div_table. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Acked-by: Shawn Guo