aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/scx200_acb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index 8bd305e47f0d..f2dae6831142 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -524,6 +524,9 @@ static int __init scx200_acb_init(void)
524 } else if (pci_dev_present(divil_pci)) 524 } else if (pci_dev_present(divil_pci))
525 rc = scx200_add_cs553x(); 525 rc = scx200_add_cs553x();
526 526
527 /* If at least one bus was created, init must succeed */
528 if (scx200_acb_list)
529 return 0;
527 return rc; 530 return rc;
528} 531}
529 532