Make this const as it is only used in a copy operation.

Signed-off-by: Bhumika Goyal <bhumi...@gmail.com>
---
 drivers/media/pci/meye/meye.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/meye/meye.c b/drivers/media/pci/meye/meye.c
index 0fe76be..49e047e 100644
--- a/drivers/media/pci/meye/meye.c
+++ b/drivers/media/pci/meye/meye.c
@@ -1533,7 +1533,7 @@ static int meye_mmap(struct file *file, struct 
vm_area_struct *vma)
        .vidioc_default         = vidioc_default,
 };
 
-static struct video_device meye_template = {
+static const struct video_device meye_template = {
        .name           = "meye",
        .fops           = &meye_fops,
        .ioctl_ops      = &meye_ioctl_ops,
-- 
1.9.1

Reply via email to