diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2007-10-28 23:44:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:44 -0500 |
commit | 4be2f47054fb12a5868838770595e8d3a02e60f2 (patch) | |
tree | 61fdc932bdc0926a31dc1ff0408d884bc630b04a | |
parent | bdd36658fe7cce3b7dbb6ffb72ad0c9500d57e7a (diff) |
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>
-rw-r--r-- | drivers/media/video/ivtv/ivtv-streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-streams.c b/drivers/media/video/ivtv/ivtv-streams.c index 74fb0e021979..a5bfbd98a490 100644 --- a/drivers/media/video/ivtv/ivtv-streams.c +++ b/drivers/media/video/ivtv/ivtv-streams.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include "ivtv-cards.h" | 43 | #include "ivtv-cards.h" |
44 | #include "ivtv-streams.h" | 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 | .owner = THIS_MODULE, | 47 | .owner = THIS_MODULE, |
48 | .read = ivtv_v4l2_read, | 48 | .read = ivtv_v4l2_read, |
49 | .write = ivtv_v4l2_write, | 49 | .write = ivtv_v4l2_write, |
@@ -53,7 +53,7 @@ static struct file_operations ivtv_v4l2_enc_fops = { | |||
53 | .poll = ivtv_v4l2_enc_poll, | 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 | .owner = THIS_MODULE, | 57 | .owner = THIS_MODULE, |
58 | .read = ivtv_v4l2_read, | 58 | .read = ivtv_v4l2_read, |
59 | .write = ivtv_v4l2_write, | 59 | .write = ivtv_v4l2_write, |