diff options
Diffstat (limited to 'drivers/media/video/pms.c')
-rw-r--r-- | drivers/media/video/pms.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c index 6820c2aabd30..51b1461d8fb6 100644 --- a/drivers/media/video/pms.c +++ b/drivers/media/video/pms.c | |||
@@ -57,11 +57,11 @@ struct i2c_info | |||
57 | u8 hits; | 57 | u8 hits; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static int i2c_count = 0; | 60 | static int i2c_count; |
61 | static struct i2c_info i2cinfo[64]; | 61 | static struct i2c_info i2cinfo[64]; |
62 | 62 | ||
63 | static int decoder = PHILIPS2; | 63 | static int decoder = PHILIPS2; |
64 | static int standard = 0; /* 0 - auto 1 - ntsc 2 - pal 3 - secam */ | 64 | static int standard; /* 0 - auto 1 - ntsc 2 - pal 3 - secam */ |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * I/O ports and Shared Memory | 67 | * I/O ports and Shared Memory |
@@ -885,7 +885,9 @@ static const struct file_operations pms_fops = { | |||
885 | .open = video_exclusive_open, | 885 | .open = video_exclusive_open, |
886 | .release = video_exclusive_release, | 886 | .release = video_exclusive_release, |
887 | .ioctl = pms_ioctl, | 887 | .ioctl = pms_ioctl, |
888 | #ifdef CONFIG_COMPAT | ||
888 | .compat_ioctl = v4l_compat_ioctl32, | 889 | .compat_ioctl = v4l_compat_ioctl32, |
890 | #endif | ||
889 | .read = pms_read, | 891 | .read = pms_read, |
890 | .llseek = no_llseek, | 892 | .llseek = no_llseek, |
891 | }; | 893 | }; |