ChangeSet 1.1277, 2003/05/29 17:19:34-03:00, acme@conectiva.com.br o drivers/usb/media/dabusb: initialize struct usb_driver ->owner field Also remove MOD_{INC,DEC}_USE_COUNT drivers/usb/media/dabusb.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -Nru a/drivers/usb/media/dabusb.c b/drivers/usb/media/dabusb.c --- a/drivers/usb/media/dabusb.c Fri May 30 11:38:48 2003 +++ b/drivers/usb/media/dabusb.c Fri May 30 11:38:48 2003 @@ -767,7 +767,6 @@ } dbg("bound to interface: %d", ifnum); up (&s->mutex); - MOD_INC_USE_COUNT; usb_set_intfdata (intf, s); return 0; @@ -792,7 +791,6 @@ sleep_on (&s->remove_ok); s->usbdev = NULL; s->overruns = 0; - MOD_DEC_USE_COUNT; } } @@ -804,8 +802,8 @@ MODULE_DEVICE_TABLE (usb, dabusb_ids); -static struct usb_driver dabusb_driver = -{ +static struct usb_driver dabusb_driver = { + .owner = THIS_MODULE, .name = "dabusb", .probe = dabusb_probe, .disconnect = dabusb_disconnect,