projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] mark struct file_operations const 4
[powerpc.git]
/
drivers
/
media
/
video
/
cx88
/
cx88-video.c
diff --git
a/drivers/media/video/cx88/cx88-video.c
b/drivers/media/video/cx88/cx88-video.c
index
8613378
..
c86a7e0
100644
(file)
--- a/
drivers/media/video/cx88/cx88-video.c
+++ b/
drivers/media/video/cx88/cx88-video.c
@@
-1808,7
+1808,7
@@
static irqreturn_t cx8800_irq(int irq, void *dev_id)
/* ----------------------------------------------------------- */
/* exported stuff */
/* ----------------------------------------------------------- */
/* exported stuff */
-static struct file_operations video_fops =
+static
const
struct file_operations video_fops =
{
.owner = THIS_MODULE,
.open = video_open,
{
.owner = THIS_MODULE,
.open = video_open,
@@
-1839,7
+1839,7
@@
static struct video_device cx8800_vbi_template =
.minor = -1,
};
.minor = -1,
};
-static struct file_operations radio_fops =
+static
const
struct file_operations radio_fops =
{
.owner = THIS_MODULE,
.open = video_open,
{
.owner = THIS_MODULE,
.open = video_open,