]> err.no Git - linux-2.6/blobdiff - drivers/media/radio/radio-gemtek.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[linux-2.6] / drivers / media / radio / radio-gemtek.c
index 0c963db03614b4232e002f2b1e0e3ebd5da6feaa..81f6aeb1cd1154d62e707d41d620381fa100c25c 100644 (file)
@@ -58,10 +58,10 @@ static int initmute = 1;
 static int radio_nr    = -1;
 
 module_param(io, int, 0444);
-MODULE_PARM_DESC(io, "Force I/O port for the GemTek Radio card if automatic"
+MODULE_PARM_DESC(io, "Force I/O port for the GemTek Radio card if automatic "
         "probing is disabled or fails. The most common I/O ports are: 0x20c "
         "0x30c, 0x24c or 0x34c (0x20c, 0x248 and 0x28c have been reported to "
-        " work for the combined sound/radiocard).");
+        "work for the combined sound/radiocard).");
 
 module_param(probe, bool, 0444);
 MODULE_PARM_DESC(probe, "Enable automatic device probing. Note: only the most "
@@ -392,12 +392,14 @@ static struct v4l2_queryctrl radio_qctrl[] = {
        }
 };
 
-static struct file_operations gemtek_fops = {
+static const struct file_operations gemtek_fops = {
        .owner          = THIS_MODULE,
        .open           = video_exclusive_open,
        .release        = video_exclusive_release,
        .ioctl          = video_ioctl2,
+#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
+#endif
        .llseek         = no_llseek
 };
 
@@ -554,7 +556,6 @@ static struct video_device gemtek_radio = {
        .owner                  = THIS_MODULE,
        .name                   = "GemTek Radio card",
        .type                   = VID_TYPE_TUNER,
-       .hardware               = VID_HARDWARE_GEMTEK,
        .fops                   = &gemtek_fops,
        .vidioc_querycap        = vidioc_querycap,
        .vidioc_g_tuner         = vidioc_g_tuner,