diff options
Diffstat (limited to 'drivers/media/video/gspca/sunplus.c')
-rw-r--r-- | drivers/media/video/gspca/sunplus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sunplus.c b/drivers/media/video/gspca/sunplus.c index 1f07476a9905..a7d324cf1a5c 100644 --- a/drivers/media/video/gspca/sunplus.c +++ b/drivers/media/video/gspca/sunplus.c | |||
@@ -1464,7 +1464,9 @@ static struct usb_driver sd_driver = { | |||
1464 | /* -- module insert / remove -- */ | 1464 | /* -- module insert / remove -- */ |
1465 | static int __init sd_mod_init(void) | 1465 | static int __init sd_mod_init(void) |
1466 | { | 1466 | { |
1467 | if (usb_register(&sd_driver) < 0) | 1467 | int ret; |
1468 | ret = usb_register(&sd_driver); | ||
1469 | if (ret < 0) | ||
1468 | return -1; | 1470 | return -1; |
1469 | PDEBUG(D_PROBE, "registered"); | 1471 | PDEBUG(D_PROBE, "registered"); |
1470 | return 0; | 1472 | return 0; |