Linux clock framework development
 help / color / mirror / Atom feed
From: Peter De Schrijver <pdeschrijver@nvidia.com>
To: <linux-tegra@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<jonathanh@nvidia.com>, <thierry.reding@gmail.com>
Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
Subject: [PATCH v2 1/2] clk: tegra: Fix const for clk_out parents
Date: Thu, 19 Jul 2018 17:22:54 +0300	[thread overview]
Message-ID: <1532010175-28364-2-git-send-email-pdeschrijver@nvidia.com> (raw)
In-Reply-To: <1532010175-28364-1-git-send-email-pdeschrijver@nvidia.com>

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
---
 drivers/clk/tegra/clk-tegra-pmc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/clk/tegra/clk-tegra-pmc.c b/drivers/clk/tegra/clk-tegra-pmc.c
index a35579a..90a353a 100644
--- a/drivers/clk/tegra/clk-tegra-pmc.c
+++ b/drivers/clk/tegra/clk-tegra-pmc.c
@@ -36,7 +36,7 @@
 struct pmc_clk_init_data {
 	char *mux_name;
 	char *gate_name;
-	const char **parents;
+	const char * const *parents;
 	int num_parents;
 	int mux_id;
 	int gate_id;
@@ -60,15 +60,15 @@ struct pmc_clk_init_data {
 
 static DEFINE_SPINLOCK(clk_out_lock);
 
-static const char *clk_out1_parents[] = { "clk_m", "clk_m_div2",
+static const char * const clk_out1_parents[] = { "clk_m", "clk_m_div2",
 	"clk_m_div4", "extern1",
 };
 
-static const char *clk_out2_parents[] = { "clk_m", "clk_m_div2",
+static const char * const clk_out2_parents[] = { "clk_m", "clk_m_div2",
 	"clk_m_div4", "extern2",
 };
 
-static const char *clk_out3_parents[] = { "clk_m", "clk_m_div2",
+static const char * const clk_out3_parents[] = { "clk_m", "clk_m_div2",
 	"clk_m_div4", "extern3",
 };
 
-- 
1.9.1


  reply	other threads:[~2018-07-19 15:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 14:22 [PATCH v2 0/2] Correct clk_out_mux parents Peter De Schrijver
2018-07-19 14:22 ` Peter De Schrijver [this message]
2018-07-25 22:44   ` [PATCH v2 1/2] clk: tegra: Fix const for clk_out parents Stephen Boyd
2018-07-26  8:19     ` Peter De Schrijver
2018-07-26  8:26       ` Jon Hunter
2018-07-19 14:22 ` [PATCH v2 2/2] clk: tegra: Correct clk_out_mux parents Peter De Schrijver
2018-07-19 15:06   ` Jon Hunter
2018-07-25 22:44     ` Stephen Boyd
2018-07-26  8:19       ` Peter De Schrijver
2018-07-26 16:07         ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1532010175-28364-2-git-send-email-pdeschrijver@nvidia.com \
    --to=pdeschrijver@nvidia.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox