aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/finepix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/finepix.c')
-rw-r--r--drivers/media/video/gspca/finepix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/finepix.c b/drivers/media/video/gspca/finepix.c
index 76c6e03cb6c9..96a5ca775b55 100644
--- a/drivers/media/video/gspca/finepix.c
+++ b/drivers/media/video/gspca/finepix.c
@@ -454,7 +454,9 @@ static struct usb_driver sd_driver = {
454/* -- module insert / remove -- */ 454/* -- module insert / remove -- */
455static int __init sd_mod_init(void) 455static int __init sd_mod_init(void)
456{ 456{
457 if (usb_register(&sd_driver) < 0) 457 int ret;
458 ret = usb_register(&sd_driver);
459 if (ret < 0)
458 return -1; 460 return -1;
459 PDEBUG(D_PROBE, "registered"); 461 PDEBUG(D_PROBE, "registered");
460 return 0; 462 return 0;