From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, realmz6@gmail.com,
adi-buildroot-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH] Blackfin: bf548: make musb_hdrc_config const
Date: Mon, 21 Aug 2017 20:08:13 +0530 [thread overview]
Message-ID: <1503326293-7670-1-git-send-email-bhumirks@gmail.com> (raw)
Make these const as they are only stored in the const field of a
musb_hdrc_platform_data structure.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
---
I could not cross compile the files, so not tested.
arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 +-
arch/blackfin/mach-bf548/boards/ezkit.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 120c994..15f823d 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -512,7 +512,7 @@
},
};
-static struct musb_hdrc_config musb_config = {
+static const struct musb_hdrc_config musb_config = {
.multipoint = 0,
.dyn_fifo = 0,
.soft_con = 1,
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 3cdd483..d3643f6 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -655,7 +655,7 @@
},
};
-static struct musb_hdrc_config musb_config = {
+static const struct musb_hdrc_config musb_config = {
.multipoint = 0,
.dyn_fifo = 0,
.soft_con = 1,
--
1.9.1
reply other threads:[~2017-08-21 14:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1503326293-7670-1-git-send-email-bhumirks@gmail.com \
--to=bhumirks@gmail.com \
--cc=adi-buildroot-devel@lists.sourceforge.net \
--cc=julia.lawall@lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=realmz6@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
all inboxes | Powered by JetHome®