From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, mchehab@kernel.org, hverkuil@xs4all.nl,
corbet@lwn.net, kyungmin.park@samsung.com, kamil@wypas.org,
a.hajda@samsung.com, bparrot@ti.com, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 04/10] [media] mx2-emmaprp: make video_device const
Date: Sat, 26 Aug 2017 15:50:06 +0530 [thread overview]
Message-ID: <1503742812-16139-5-git-send-email-bhumirks@gmail.com> (raw)
In-Reply-To: <1503742812-16139-1-git-send-email-bhumirks@gmail.com>
Make this const as it is only used in a copy operation.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
---
drivers/media/platform/mx2_emmaprp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c
index 7fd209e..3493d40 100644
--- a/drivers/media/platform/mx2_emmaprp.c
+++ b/drivers/media/platform/mx2_emmaprp.c
@@ -873,7 +873,7 @@ static int emmaprp_mmap(struct file *file, struct vm_area_struct *vma)
.mmap = emmaprp_mmap,
};
-static struct video_device emmaprp_videodev = {
+static const struct video_device emmaprp_videodev = {
.name = MEM2MEM_NAME,
.fops = &emmaprp_fops,
.ioctl_ops = &emmaprp_ioctl_ops,
--
1.9.1
next prev parent reply other threads:[~2017-08-26 10:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-26 10:20 [PATCH 00/10] [media] platform: make video_device const Bhumika Goyal
2017-08-26 10:20 ` [PATCH 01/10] [media] cx88: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 02/10] [media] dt3155: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 03/10] [media]: marvell-ccic: " Bhumika Goyal
2017-08-26 10:20 ` Bhumika Goyal [this message]
2017-08-26 10:20 ` [PATCH 05/10] [media]: s5p-g2d: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 06/10] [media]: ti-vpe: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 07/10] [media] via-camera: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 08/10] [media]: fsl-viu: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 09/10] [media] m2m-deinterlace: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 10/10] [media] vim2m: " Bhumika Goyal
2017-08-26 11:59 ` [PATCH 00/10] [media] platform: " Mauro Carvalho Chehab
2017-08-26 12:12 ` Bhumika Goyal
2017-08-26 12:28 ` Mauro Carvalho Chehab
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=1503742812-16139-5-git-send-email-bhumirks@gmail.com \
--to=bhumirks@gmail.com \
--cc=a.hajda@samsung.com \
--cc=bparrot@ti.com \
--cc=corbet@lwn.net \
--cc=hverkuil@xs4all.nl \
--cc=julia.lawall@lip6.fr \
--cc=kamil@wypas.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.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).