Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751632AbdHaLg1 (ORCPT ); Thu, 31 Aug 2017 07:36:27 -0400 Received: from ozlabs.org ([103.22.144.67]:57787 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbdHaLgZ (ORCPT ); Thu, 31 Aug 2017 07:36:25 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 9e2b70fbbc451cc56863644f6e7349148f7482cf In-Reply-To: <90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@gmail.com> To: Arvind Yadav , agust@denx.de, benh@kernel.crashing.org, paulus@samba.org From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/512x: clk: constify clk_div_table Message-Id: <3xjgLc0Lj9z9t2f@ozlabs.org> Date: Thu, 31 Aug 2017 21:36:23 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 387 Lines: 12 On Mon, 2017-08-28 at 06:05:15 UTC, Arvind Yadav wrote: > clk_div_table are not supposed to change at runtime. > mpc512x_clk_divtable function working with const > clk_div_table. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/9e2b70fbbc451cc56863644f6e7349 cheers