Hi,
Here's a patch against 2.4.11-pre6 that updates the dsbr100 driver to
the same version that is in the -ac tree.
thanks,
greg k-h
(temporary USB maintainer)
diff --minimal -Nru a/drivers/usb/dsbr100.c b/drivers/usb/dsbr100.c
--- a/drivers/usb/dsbr100.c Tue Oct 9 14:16:55 2001
+++ b/drivers/usb/dsbr100.c Tue Oct 9 14:16:55 2001
@@ -64,6 +64,7 @@
#include <linux/input.h>
#include <linux/videodev.h>
#include <linux/usb.h>
+#include <linux/smp_lock.h>
/*
* Version Information
@@ -194,10 +195,14 @@
{
usb_dsbr100 *radio=ptr;
- if (users)
+ lock_kernel();
+ if (users) {
+ unlock_kernel();
return;
+ }
kfree(radio);
usb_dsbr100_radio.priv = NULL;
+ unlock_kernel();
}
static int usb_dsbr100_ioctl(struct video_device *dev, unsigned int cmd,
@@ -362,6 +367,7 @@
MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC );
+MODULE_LICENSE("GPL");
/*
vi: ts=8
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel