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: 9613003 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 01581602B4 for ; Thu, 9 Mar 2017 10:42:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5B1A285CE for ; Thu, 9 Mar 2017 10:42:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAA13285E0; Thu, 9 Mar 2017 10:42:40 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5F344285CE for ; Thu, 9 Mar 2017 10:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=9uFJkm+myCLM2E1u+rAWclSt5L35236ALhnWRyhrRCM=; b=jHkptDqF+gK4rGLu855vehnwEx dWy/vg1uDWCGabN2ZGBRegQ/tSbcpCH/QkYUddpxInScNSR9QU+IBgNQZBfQxt8Eu7fmwjJ5ESWls J+yZTBPNjdHuFWVXdfXcPKZ00SrooPSiMnQ3ZIaIayzkqFur66IK2/Wu6O960ljwrF3aMfLb3xAnu YSXMFiTccz9IvYJy9OJZAR3RPbuwK7mWO3okCkLImuwoy8DdqgHHNnZTv/ibZOs2I0z5AXTTSS6Yd 4hlXFK23r7bMR8HaNKrF+yRHxTM4/4tI5xthDi+tn5J1ja40n268hljV7Kvs89yBzIpjFkFyJSyzv AFaJ7efw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clvWk-0006TH-Ra; Thu, 09 Mar 2017 10:42:34 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clvWd-0006Ju-M5 for linux-amlogic@lists.infradead.org; Thu, 09 Mar 2017 10:42:30 +0000 Received: by mail-wr0-x234.google.com with SMTP id u108so42024861wrb.3 for ; Thu, 09 Mar 2017 02:42:07 -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=JjJXb3hLX6jjftPN8Sac7/hsuZ+yGQmrf8LBlN0+p8RPxZ8VQGQ3zlKcOIHQb7nGwg 4pxkj836rS73pES0/5UkwCpsyoCvgWQ5zgI3YyxMlWVLr7guKRGC4KKtJ2pM3h8Oq1Mb HuY7AZf4TbanDvHI+fKRyRlVLciWTjBEt4PVrICvtIzb/cZf3Gd89c8NKbRrpuVl/2w/ 1EGjflKIWBySNg7Su9Z91K/P/2lGd587hpPK9BnFmMKzFHQ6jTZWcW+OSzdpjCsOQXsB WrQouXS6NpMmNap36aFsH5B6jQOwc5LwcBV3i1l5aCwn9RCN69jCMCo7iIDpfELs1QjU g/0g== X-Gm-Message-State: AMke39lE9DIKC06KPYFfU4pujk19LfEvr04WBYYiLqLuu195ghFbGO30s74BYSU8KRLoVDOr 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170309_024227_878834_7925E709 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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,