Hi,
this cleans up module usage counting for stv680
Regards
Oliver
--- stv680.c.alt Sun Feb 3 00:01:51 2002
+++ stv680.c Sun Feb 3 00:03:57 2002
@@ -1155,7 +1155,6 @@
int err = 0;
/* we are called with the BKL held */
- MOD_INC_USE_COUNT;
stv680->user = 1;
err = stv_init (stv680); /* main initialization routine for camera */
@@ -1167,7 +1166,6 @@
}
}
if (err) {
- MOD_DEC_USE_COUNT;
stv680->user = 0;
}
@@ -1197,7 +1195,6 @@
stv680 = NULL;
PDEBUG (0, "STV(i): device unregistered");
}
- MOD_DEC_USE_COUNT;
}
static long stv680_write (struct video_device *dev, const char *buf, unsigned long
count, int noblock)
@@ -1633,6 +1630,7 @@
}
static struct usb_driver stv680_driver = {
+ owner: THIS_MODULE,
name: "stv680",
probe: stv680_probe,
disconnect: stv680_disconnect,
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel