PATCH: fix vicam with old gcc

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Jul 2003 13:27:12 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/usb/vicam.c linux.22-pre5-ac1/drivers/usb/vicam.c
--- linux.22-pre5/drivers/usb/vicam.c 2003-07-14 12:27:39.000000000 +0100
+++ linux.22-pre5-ac1/drivers/usb/vicam.c 2003-07-07 15:54:03.000000000 +0100
@@ -763,8 +763,8 @@
static void
vicam_close(struct video_device *dev)
{
- DBG("close\n");
struct vicam_camera *cam = (struct vicam_camera *) dev->priv;
+ DBG("close\n");


if (cam->is_removed) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/