X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Fpms.c;h=8c72e4df85ab43ca0d269c876221b139f80a7534;hb=1ffdddd6fa3d18982133f6d149d456312d8bfcac;hp=d38d3dc4a0120c0c242daa87150b4ae930856a32;hpb=93bbad8fe13a25dcf7f3bc628a71d1a7642ae61b;p=linux-2.6 diff --git a/drivers/media/video/pms.c b/drivers/media/video/pms.c index d38d3dc4a0..8c72e4df85 100644 --- a/drivers/media/video/pms.c +++ b/drivers/media/video/pms.c @@ -28,9 +28,9 @@ #include #include #include -#include #include #include +#include #include #include @@ -58,11 +58,11 @@ struct i2c_info u8 hits; }; -static int i2c_count = 0; +static int i2c_count; static struct i2c_info i2cinfo[64]; static int decoder = PHILIPS2; -static int standard = 0; /* 0 - auto 1 - ntsc 2 - pal 3 - secam */ +static int standard; /* 0 - auto 1 - ntsc 2 - pal 3 - secam */ /* * I/O ports and Shared Memory @@ -886,17 +886,17 @@ static const struct file_operations pms_fops = { .open = video_exclusive_open, .release = video_exclusive_release, .ioctl = pms_ioctl, +#ifdef CONFIG_COMPAT .compat_ioctl = v4l_compat_ioctl32, +#endif .read = pms_read, .llseek = no_llseek, }; static struct video_device pms_template= { - .owner = THIS_MODULE, .name = "Mediavision PMS", .type = VID_TYPE_CAPTURE, - .hardware = VID_HARDWARE_PMS, .fops = &pms_fops, };