ChangeSet 1.1281, 2003/05/29 17:24:16-03:00, acme@conectiva.com.br o drivers/usb/media/ov511: initialize struct usb_driver ->owner field Also remove MOD_{INC,DEC}_USE_COUNT drivers/usb/media/ov511.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) diff -Nru a/drivers/usb/media/ov511.c b/drivers/usb/media/ov511.c --- a/drivers/usb/media/ov511.c Fri May 30 11:38:30 2003 +++ b/drivers/usb/media/ov511.c Fri May 30 11:38:30 2003 @@ -400,6 +400,7 @@ unsigned long); static struct file_operations ov511_control_fops = { + .owner = THIS_MODULE, .ioctl = ov51x_control_ioctl, }; @@ -6455,8 +6456,6 @@ } } - MOD_INC_USE_COUNT; - unlock_kernel(); return 0; @@ -6481,8 +6480,6 @@ else ov511_decomp_ops = NULL; } - - MOD_DEC_USE_COUNT; unlock_kernel(); }