summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/spca505.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/gspca/spca505.c')
-rw-r--r--linux/drivers/media/video/gspca/spca505.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/spca505.c b/linux/drivers/media/video/gspca/spca505.c
index d87de1141..c7a23f237 100644
--- a/linux/drivers/media/video/gspca/spca505.c
+++ b/linux/drivers/media/video/gspca/spca505.c
@@ -934,7 +934,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;
}