Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: bcm2835-camera: make video_device const

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

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Bhumika Goyal and committed by
Greg Kroah-Hartman
b9920ca3 d162f80a

+1 -1
+1 -1
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c
··· 1456 1456 .mmap = vb2_fop_mmap, 1457 1457 }; 1458 1458 1459 - static struct video_device vdev_template = { 1459 + static const struct video_device vdev_template = { 1460 1460 .name = "camera0", 1461 1461 .fops = &camera0_fops, 1462 1462 .ioctl_ops = &camera0_ioctl_ops,