From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: OMAP2+: Make hwmod clkdm_name const
Date: Tue, 14 Mar 2017 14:06:39 -0700 [thread overview]
Message-ID: <20170314210639.2065-5-tony@atomide.com> (raw)
In-Reply-To: <20170314210639.2065-1-tony@atomide.com>
This can be const, and needs to be const when we start initializing
it from clkdm data.
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/omap_hwmod.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h
--- a/arch/arm/mach-omap2/omap_hwmod.h
+++ b/arch/arm/mach-omap2/omap_hwmod.h
@@ -676,7 +676,7 @@ struct omap_hwmod {
const char *main_clk;
struct clk *_clk;
struct omap_hwmod_opt_clk *opt_clks;
- char *clkdm_name;
+ const char *clkdm_name;
struct clockdomain *clkdm;
struct list_head slave_ports; /* connect to *_TA */
void *dev_attr;
--
2.11.1
prev parent reply other threads:[~2017-03-14 21:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-14 21:06 [PATCH 0/4] Clean up omap hwmod code for dynamic allocation Tony Lindgren
2017-03-14 21:06 ` [PATCH 1/4] ARM: OMAP2+: Remove mostly unused hwmod linkspace Tony Lindgren
2017-03-14 21:06 ` [PATCH 2/4] ARM: OMAP2+: Use list_for_each_entry for hwmod slave_ports Tony Lindgren
2017-03-14 21:06 ` [PATCH 3/4] ARM: OMAP2+: Remove unnecessary hwmod clockact Tony Lindgren
2017-03-14 21:06 ` Tony Lindgren [this message]
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=20170314210639.2065-5-tony@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).