aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 5c159d89bd82..d1b604c07afd 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -1793,7 +1793,9 @@ static struct usb_driver sd_driver = {
1793/* -- module insert / remove -- */ 1793/* -- module insert / remove -- */
1794static int __init sd_mod_init(void) 1794static int __init sd_mod_init(void)
1795{ 1795{
1796 if (usb_register(&sd_driver) < 0) 1796 int ret;
1797 ret = usb_register(&sd_driver);
1798 if (ret < 0)
1797 return -1; 1799 return -1;
1798 info("registered"); 1800 info("registered");
1799 return 0; 1801 return 0;