diff options
Diffstat (limited to 'drivers/media/video/gspca/stv06xx')
-rw-r--r-- | drivers/media/video/gspca/stv06xx/stv06xx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c b/drivers/media/video/gspca/stv06xx/stv06xx.c index c60b163335c5..c43534db74bb 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx.c +++ b/drivers/media/video/gspca/stv06xx/stv06xx.c | |||
@@ -500,7 +500,9 @@ static struct usb_driver sd_driver = { | |||
500 | /* -- module insert / remove -- */ | 500 | /* -- module insert / remove -- */ |
501 | static int __init sd_mod_init(void) | 501 | static int __init sd_mod_init(void) |
502 | { | 502 | { |
503 | if (usb_register(&sd_driver) < 0) | 503 | int ret; |
504 | ret = usb_register(&sd_driver); | ||
505 | if (ret < 0) | ||
504 | return -1; | 506 | return -1; |
505 | PDEBUG(D_PROBE, "registered"); | 507 | PDEBUG(D_PROBE, "registered"); |
506 | return 0; | 508 | return 0; |