aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/scx200_acb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index e6c4a2b762ec..f5e7a70da831 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -492,7 +492,7 @@ static __init int scx200_create_pci(const char *text, struct pci_dev *pdev,
492 iface->pdev = pdev; 492 iface->pdev = pdev;
493 iface->bar = bar; 493 iface->bar = bar;
494 494
495 rc = pci_enable_device_bars(iface->pdev, 1 << iface->bar); 495 rc = pci_enable_device_io(iface->pdev);
496 if (rc) 496 if (rc)
497 goto errout_free; 497 goto errout_free;
498 498