Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751264AbdH1F3V (ORCPT ); Mon, 28 Aug 2017 01:29:21 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:38347 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750825AbdH1F3T (ORCPT ); Mon, 28 Aug 2017 01:29:19 -0400 From: Arvind Yadav To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, mturquette@baylibre.com, sboyd@codeaurora.org, jun.nie@linaro.org, baoyou.xie@linaro.org Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] constify clk clk_div_table Date: Mon, 28 Aug 2017 10:58:51 +0530 Message-Id: <1503898133-10862-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 18 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. Arvind Yadav (2): [PATCH 1/2] clk: imx: constify clk_div_table [PATCH 2/2] clk: zte: constify clk_div_table drivers/clk/imx/clk-imx6sl.c | 6 +++--- drivers/clk/imx/clk-imx6sx.c | 6 +++--- drivers/clk/imx/clk-imx6ul.c | 6 +++--- drivers/clk/imx/clk-imx7d.c | 4 ++-- drivers/clk/imx/clk-vf610.c | 2 +- drivers/clk/zte/clk-zx296718.c | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) -- 1.9.1