From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, crope@iki.fi, mchehab@kernel.org,
hans.verkuil@cisco.com, isely@pobox.com,
ezequiel@vanguardiasur.com.ar, royale@zerezo.com,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 03/11] [media] stk1160: make video_device const
Date: Sat, 26 Aug 2017 14:05:07 +0530 [thread overview]
Message-ID: <1503736515-15366-4-git-send-email-bhumirks@gmail.com> (raw)
In-Reply-To: <1503736515-15366-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/usb/stk1160/stk1160-v4l.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v4l.c
index a132faa..77b759a 100644
--- a/drivers/media/usb/stk1160/stk1160-v4l.c
+++ b/drivers/media/usb/stk1160/stk1160-v4l.c
@@ -751,7 +751,7 @@ static void stop_streaming(struct vb2_queue *vq)
.wait_finish = vb2_ops_wait_finish,
};
-static struct video_device v4l_template = {
+static const struct video_device v4l_template = {
.name = "stk1160",
.tvnorms = V4L2_STD_525_60 | V4L2_STD_625_50,
.fops = &stk1160_fops,
--
1.9.1
next prev parent reply other threads:[~2017-08-26 8:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-26 8:35 [PATCH 00/11] [media]: make video_device const Bhumika Goyal
2017-08-26 8:35 ` [PATCH 01/11] [media] zr364xx: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 02/11] [media] stkwebcam: " Bhumika Goyal
2017-08-26 8:35 ` Bhumika Goyal [this message]
2017-08-26 8:35 ` [PATCH 04/11] [media] s2255drv: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 05/11] [media] pwc: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 06/11] [media] pvrusb2: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 07/11] [media] msi2500: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 08/11] [media] hackrf: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 09/11] [media] go7007: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 10/11] [media] cpia2: " Bhumika Goyal
2017-08-26 8:35 ` [PATCH 11/11] [media] airspy: " Bhumika Goyal
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=1503736515-15366-4-git-send-email-bhumirks@gmail.com \
--to=bhumirks@gmail.com \
--cc=crope@iki.fi \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=hans.verkuil@cisco.com \
--cc=isely@pobox.com \
--cc=julia.lawall@lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=royale@zerezo.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;
as well as URLs for NNTP newsgroup(s).