diff options
Diffstat (limited to 'drivers/media/video/gspca/spca505.c')
-rw-r--r-- | drivers/media/video/gspca/spca505.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca505.c b/drivers/media/video/gspca/spca505.c index 90d555361ae7..32ae57e5f7be 100644 --- a/drivers/media/video/gspca/spca505.c +++ b/drivers/media/video/gspca/spca505.c | |||
@@ -862,7 +862,9 @@ static struct usb_driver sd_driver = { | |||
862 | /* -- module insert / remove -- */ | 862 | /* -- module insert / remove -- */ |
863 | static int __init sd_mod_init(void) | 863 | static int __init sd_mod_init(void) |
864 | { | 864 | { |
865 | if (usb_register(&sd_driver) < 0) | 865 | int ret; |
866 | ret = usb_register(&sd_driver); | ||
867 | if (ret < 0) | ||
866 | return -1; | 868 | return -1; |
867 | PDEBUG(D_PROBE, "registered"); | 869 | PDEBUG(D_PROBE, "registered"); |
868 | return 0; | 870 | return 0; |