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

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

diff -u --recursive --new-file v2.4.2/linux/drivers/media/radio/radio-maestro.c linux/drivers/media/radio/radio-maestro.c
@@ -69,6 +69,7 @@
 
 static struct video_device maestro_radio=
 {
+	owner:		THIS_MODULE,
 	name:		"Maestro radio",
 	type:		VID_TYPE_TUNER,
 	hardware:	VID_HARDWARE_SF16MI,
@@ -282,14 +283,12 @@
 	if(users)
 		return -EBUSY;
 	users++;
-	MOD_INC_USE_COUNT;
 	return 0;
 }
 
 static void radio_close(struct video_device *dev)
 {
 	users--;
-	MOD_DEC_USE_COUNT;
 }
 
 

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