[PATCH 1/2] clk: imx: constify clk_div_table
From: shawnguo@kernel.org (Shawn Guo)
Date: 2017-08-28 09:43:03
Also in:
linux-clk, lkml
From: shawnguo@kernel.org (Shawn Guo)
Date: 2017-08-28 09:43:03
Also in:
linux-clk, lkml
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 <linux/clk-provider.h> work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <redacted>
Acked-by: Shawn Guo <shawnguo@kernel.org>