linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 02/10] [media] dt3155: make video_device const
Date: Sat, 26 Aug 2017 15:50:04 +0530	[thread overview]
Message-ID: <1503742812-16139-3-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/pci/dt3155/dt3155.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/dt3155/dt3155.c b/drivers/media/pci/dt3155/dt3155.c
index 6a21969..1775c36 100644
--- a/drivers/media/pci/dt3155/dt3155.c
+++ b/drivers/media/pci/dt3155/dt3155.c
@@ -499,7 +499,7 @@ static int dt3155_init_board(struct dt3155_priv *pd)
 	return 0;
 }
 
-static struct video_device dt3155_vdev = {
+static const struct video_device dt3155_vdev = {
 	.name = DT3155_NAME,
 	.fops = &dt3155_fops,
 	.ioctl_ops = &dt3155_ioctl_ops,
-- 
1.9.1

  parent reply	other threads:[~2017-08-26 10:20 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 ` Bhumika Goyal [this message]
2017-08-26 10:20 ` [PATCH 03/10] [media]: marvell-ccic: " Bhumika Goyal
2017-08-26 10:20 ` [PATCH 04/10] [media] mx2-emmaprp: " Bhumika Goyal
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-3-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).