Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbdH1JnD (ORCPT ); Mon, 28 Aug 2017 05:43:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:53464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbdH1JnC (ORCPT ); Mon, 28 Aug 2017 05:43:02 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB61421A31 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:42:38 +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 1/2] clk: imx: constify clk_div_table Message-ID: <20170828094236.GA3525@dragon> References: <1503898133-10862-1-git-send-email-arvind.yadav.cs@gmail.com> <1503898133-10862-2-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-2-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:52AM +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