aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/sonixb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r--drivers/media/video/gspca/sonixb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index dd9417eea16..153d0a91d4b 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -1274,7 +1274,7 @@ static int __init sd_mod_init(void)
int ret;
ret = usb_register(&sd_driver);
if (ret < 0)
- return -1;
+ return ret;
PDEBUG(D_PROBE, "registered");
return 0;
}