[PATCH] radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove obsolete V4L v1 reference.

Signed-off-by: Pekka Seppänen <[email protected]>
---

Ingo Molnar wrote:
> randconfig testing of latest -git found this build bug:
> 
> drivers/media/radio/radio-gemtek.c:557: error: 'VID_HARDWARE_GEMTEK' undeclared here (not in a function)
> 
> config attached.

.hardware = VID_HARDWARE_GEMTEK was from pre-V4L2 era module. My bad, sorry folks.

diff -up v4l-dvb/linux/drivers/media/radio/radio-gemtek.c{.orig,}
--- v4l-dvb/linux/drivers/media/radio/radio-gemtek.c.orig       2007-10-15 15:52:38.000000000 +0300
+++ v4l-dvb/linux/drivers/media/radio/radio-gemtek.c    2007-10-15 15:52:53.000000000 +0300
@@ -555,7 +555,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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux