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

From: Pekka Seppänen
Date: Mon Oct 15 2007 - 09:47:04 EST


Remove obsolete V4L v1 reference.

Signed-off-by: Pekka Seppänen <pexu@xxxxxxxx>
---

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/