diff options
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index 5ec361c779be..dd9417eea16a 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -1271,7 +1271,9 @@ static struct usb_driver sd_driver = { | |||
1271 | /* -- module insert / remove -- */ | 1271 | /* -- module insert / remove -- */ |
1272 | static int __init sd_mod_init(void) | 1272 | static int __init sd_mod_init(void) |
1273 | { | 1273 | { |
1274 | if (usb_register(&sd_driver) < 0) | 1274 | int ret; |
1275 | ret = usb_register(&sd_driver); | ||
1276 | if (ret < 0) | ||
1275 | return -1; | 1277 | return -1; |
1276 | PDEBUG(D_PROBE, "registered"); | 1278 | PDEBUG(D_PROBE, "registered"); |
1277 | return 0; | 1279 | return 0; |