summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2007-10-29 00:44:55 -0300
committerDouglas Schilling Landgraf <dougsland@gmail.com>2007-10-29 00:44:55 -0300
commitee189d9d96dcebde4ec27edbda3f1582949ca8a4 (patch)
treec5ad1b8f661bff214f9682dc4b680915bfa60321 /linux/drivers/media/video/ivtv
parente9dbf7930269128c20563fefa362abdafd29c9b6 (diff)
downloadmediapointer-dvb-s2-ee189d9d96dcebde4ec27edbda3f1582949ca8a4.tar.gz
mediapointer-dvb-s2-ee189d9d96dcebde4ec27edbda3f1582949ca8a4.tar.bz2
ivtv-streams: make file_operations const
From: Douglas Schilling Landgraf <dougsland@gmail.com> ivtv-streams: make file_operations const Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/ivtv')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-streams.c b/linux/drivers/media/video/ivtv/ivtv-streams.c
index aa03e61ef..cc1efd63e 100644
--- a/linux/drivers/media/video/ivtv/ivtv-streams.c
+++ b/linux/drivers/media/video/ivtv/ivtv-streams.c
@@ -43,7 +43,7 @@
#include "ivtv-cards.h"
#include "ivtv-streams.h"
-static struct file_operations ivtv_v4l2_enc_fops = {
+static const struct file_operations ivtv_v4l2_enc_fops = {
.owner = THIS_MODULE,
.read = ivtv_v4l2_read,
.write = ivtv_v4l2_write,
@@ -53,7 +53,7 @@ static struct file_operations ivtv_v4l2_enc_fops = {
.poll = ivtv_v4l2_enc_poll,
};
-static struct file_operations ivtv_v4l2_dec_fops = {
+static const struct file_operations ivtv_v4l2_dec_fops = {
.owner = THIS_MODULE,
.read = ivtv_v4l2_read,
.write = ivtv_v4l2_write,