From patchwork Thu Mar 9 10:41:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9613055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 85067604D9 for ; Thu, 9 Mar 2017 10:53:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75593285CE for ; Thu, 9 Mar 2017 10:53:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68C89285EF; Thu, 9 Mar 2017 10:53:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F20CF285CE for ; Thu, 9 Mar 2017 10:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985AbdCIKsn (ORCPT ); Thu, 9 Mar 2017 05:48:43 -0500 Received: from mail-wr0-f173.google.com ([209.85.128.173]:34910 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753163AbdCIKs1 (ORCPT ); Thu, 9 Mar 2017 05:48:27 -0500 Received: by mail-wr0-f173.google.com with SMTP id g10so42208627wrg.2 for ; Thu, 09 Mar 2017 02:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aKozrw+VerXySkU0CVBhNR1cOBw2eN5kutG12W47Eww=; b=QiNPB+RZwS1slnNeUhSyB6NW+yI67BStLrK7M01lHxSUdsLOmdCLSDnz6WkO8HR+Nu hpOlf/7B1rd0WxKGw++iDfb5BooDO6cootuNHlLjNW92Xi7peyj4zCNXWJ5o1ka64eDO awlY2tGEsNvpbpqDssDs5WuJxy194JNJs/lum/tKqBR5HVtOapNQm9UMZV5Mnrx7qjII iKpUDJ8wfNREmKpIGwXjnUsLodZnt66rkgwMzt3YxndRIQXYyJwrFMh3x35H1lllXyZ0 hDaELpVN6UOZXtz+C5FGsHSV7+FAb75J+2LEkP6u5UnCBxLKr+QRZEMHy+JlnYchWEC0 /QYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aKozrw+VerXySkU0CVBhNR1cOBw2eN5kutG12W47Eww=; b=Q8D6E9rbt8LwmWweXwGa9ZTm0UbbRow6PMDNKOa0UNxrms0cDc8Se1U3L962jj3sdo hN2aUG1I25QImQwBoLONxTaaG2HEHxMruqq9BoFQ9m9bOIG+5GB5IIcytJES6l5QO5jL c+nV0veZrD4gksfRB9Ewp3/VDTHETBGxAFJmWsOlGOd8KQYvCQCptAeECZ7F9BudUtph 6XgCpC8dzVYKFiEdqicvvuuN42whnFCd4qGFJvsQkPa97MXhJ22NH6dfniWH8ta4reBC 1BVCofQ5JmXfDskqMWGojlEllksOWiCnLrbePCcZyyGaDYvZLHcGz42mqzO5jAn6mjtm LGzA== X-Gm-Message-State: AMke39k7tFGFHWZaNnO3Q8Upiy0kUjhCk3Bd2OQgHxAFOGnM1YgW3VFAJLMlvhfpQhEtauDp X-Received: by 10.223.151.45 with SMTP id r42mr9749436wrb.185.1489056126224; Thu, 09 Mar 2017 02:42:06 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e6sm7724113wrc.30.2017.03.09.02.42.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 02:42:05 -0800 (PST) From: Jerome Brunet To: Michael Turquette , Stephen Boyd , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/9] clk: meson: add missing const qualifiers on gate arrays Date: Thu, 9 Mar 2017 11:41:47 +0100 Message-Id: <20170309104154.28295-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170309104154.28295-1-jbrunet@baylibre.com> References: <20170309104154.28295-1-jbrunet@baylibre.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reported-by: Stephen Boyd Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.c | 2 +- drivers/clk/meson/meson8b.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 1c1ec137a3cc..c063287bb0ed 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -816,7 +816,7 @@ static struct meson_clk_mpll *const gxbb_clk_mplls[] = { &gxbb_mpll2, }; -static struct clk_gate *gxbb_clk_gates[] = { +static struct clk_gate *const gxbb_clk_gates[] = { &gxbb_clk81, &gxbb_ddr, &gxbb_dos, diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index 888494d4fb8a..d1cc4d7cc8ff 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c @@ -501,7 +501,7 @@ static struct meson_clk_pll *const meson8b_clk_plls[] = { &meson8b_sys_pll, }; -static struct clk_gate *meson8b_clk_gates[] = { +static struct clk_gate *const meson8b_clk_gates[] = { &meson8b_clk81, &meson8b_ddr, &meson8b_dos,