aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/mars.c')
-rw-r--r--drivers/media/video/gspca/mars.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c
index ba79afbf8b39..420224afacb1 100644
--- a/drivers/media/video/gspca/mars.c
+++ b/drivers/media/video/gspca/mars.c
@@ -420,7 +420,9 @@ static struct usb_driver sd_driver = {
420/* -- module insert / remove -- */ 420/* -- module insert / remove -- */
421static int __init sd_mod_init(void) 421static int __init sd_mod_init(void)
422{ 422{
423 if (usb_register(&sd_driver) < 0) 423 int ret;
424 ret = usb_register(&sd_driver);
425 if (ret < 0)
424 return -1; 426 return -1;
425 PDEBUG(D_PROBE, "registered"); 427 PDEBUG(D_PROBE, "registered");
426 return 0; 428 return 0;