[v2,1/2] clk: tegra: Fix const for clk_out parents
diff mbox series

Message ID 1532010175-28364-2-git-send-email-pdeschrijver@nvidia.com
State New
Headers show
Series
  • Correct clk_out_mux parents
Related show

Commit Message

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

Comments

Stephen Boyd July 25, 2018, 10:44 p.m. UTC | #1
Quoting Peter De Schrijver (2018-07-19 07:22:54)
> Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>

Please add a commit text here. Maybe why this patch is sent to the list?

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Peter De Schrijver July 26, 2018, 8:19 a.m. UTC | #2
On Wed, Jul 25, 2018 at 03:44:14PM -0700, Stephen Boyd wrote:
> Quoting Peter De Schrijver (2018-07-19 07:22:54)
> > Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
> 
> Please add a commit text here. Maybe why this patch is sent to the list?

See description of the series.

Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jon Hunter July 26, 2018, 8:26 a.m. UTC | #3
On 26/07/18 09:19, Peter De Schrijver wrote:
> On Wed, Jul 25, 2018 at 03:44:14PM -0700, Stephen Boyd wrote:
>> Quoting Peter De Schrijver (2018-07-19 07:22:54)
>>> Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
>>
>> Please add a commit text here. Maybe why this patch is sent to the list?
> 
> See description of the series.

There still needs to be a commit message for the patch.

Cheers
Jon

Patch
diff mbox series

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",
 };