patch-2.4.3 linux/drivers/media/radio/radio-typhoon.c

Next file: linux/drivers/media/radio/radio-zoltrix.c
Previous file: linux/drivers/media/radio/radio-trust.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/media/radio/radio-typhoon.c linux/drivers/media/radio/radio-typhoon.c
@@ -260,7 +260,6 @@
 	if (typhoon->users)
 		return -EBUSY;
 	typhoon->users++;
-	MOD_INC_USE_COUNT;
 	return 0;
 }
 
@@ -268,7 +267,6 @@
 {
 	struct typhoon_device *typhoon = dev->priv;
 	typhoon->users--;
-	MOD_DEC_USE_COUNT;
 }
 
 static struct typhoon_device typhoon_unit =
@@ -280,6 +278,7 @@
 
 static struct video_device typhoon_radio =
 {
+	owner:		THIS_MODULE,
 	name:		"Typhoon Radio",
 	type:		VID_TYPE_TUNER,
 	hardware:	VID_HARDWARE_TYPHOON,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)