aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/spca508.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/spca508.c')
-rw-r--r--drivers/media/video/gspca/spca508.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c
index f5c045967379..c9d5e6c80912 100644
--- a/drivers/media/video/gspca/spca508.c
+++ b/drivers/media/video/gspca/spca508.c
@@ -1665,7 +1665,9 @@ static struct usb_driver sd_driver = {
1665/* -- module insert / remove -- */ 1665/* -- module insert / remove -- */
1666static int __init sd_mod_init(void) 1666static int __init sd_mod_init(void)
1667{ 1667{
1668 if (usb_register(&sd_driver) < 0) 1668 int ret;
1669 ret = usb_register(&sd_driver);
1670 if (ret < 0)
1669 return -1; 1671 return -1;
1670 PDEBUG(D_PROBE, "registered"); 1672 PDEBUG(D_PROBE, "registered");
1671 return 0; 1673 return 0;