[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1503746014-16489-3-git-send-email-bhumirks@gmail.com>
Date: Sat, 26 Aug 2017 16:43:31 +0530
From: Bhumika Goyal <bhumirks@...il.com>
To: julia.lawall@...6.fr, mchehab@...nel.org,
maintainers@...echerrydvr.com, anton@...p.bluecherry.net,
andrey.utkin@...p.bluecherry.net, ismael@...ev.co.uk,
hverkuil@...all.nl, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Bhumika Goyal <bhumirks@...il.com>
Subject: [PATCH 2/5] [media] saa7134: make video_device const
Make this const as it is only used in a copy operation.
Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
---
drivers/media/pci/saa7134/saa7134-empress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pci/saa7134/saa7134-empress.c b/drivers/media/pci/saa7134/saa7134-empress.c
index b1d3648..66acfd3 100644
--- a/drivers/media/pci/saa7134/saa7134-empress.c
+++ b/drivers/media/pci/saa7134/saa7134-empress.c
@@ -205,7 +205,7 @@ static int empress_try_fmt_vid_cap(struct file *file, void *priv,
/* ----------------------------------------------------------- */
-static struct video_device saa7134_empress_template = {
+static const struct video_device saa7134_empress_template = {
.name = "saa7134-empress",
.fops = &ts_fops,
.ioctl_ops = &ts_ioctl_ops,
--
1.9.1
Powered by blists - more mailing lists