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

V4L/DVB (6483): ivtv-streams: make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Douglas Schilling Landgraf and committed by
Mauro Carvalho Chehab
4be2f470 bdd36658

+2 -2
+2 -2
drivers/media/video/ivtv/ivtv-streams.c
··· 43 43 #include "ivtv-cards.h" 44 44 #include "ivtv-streams.h" 45 45 46 - static struct file_operations ivtv_v4l2_enc_fops = { 46 + static const struct file_operations ivtv_v4l2_enc_fops = { 47 47 .owner = THIS_MODULE, 48 48 .read = ivtv_v4l2_read, 49 49 .write = ivtv_v4l2_write, ··· 53 53 .poll = ivtv_v4l2_enc_poll, 54 54 }; 55 55 56 - static struct file_operations ivtv_v4l2_dec_fops = { 56 + static const struct file_operations ivtv_v4l2_dec_fops = { 57 57 .owner = THIS_MODULE, 58 58 .read = ivtv_v4l2_read, 59 59 .write = ivtv_v4l2_write,