--- zzzz-none-000/linux-2.6.19.2/drivers/i2c/busses/scx200_acb.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5504/linux-2.6.19.2/drivers/i2c/busses/scx200_acb.c 2007-01-11 07:38:19.000000000 +0000 @@ -494,12 +494,11 @@ iface->pdev = pdev; iface->bar = bar; - rc = pci_enable_device_bars(iface->pdev, 1 << iface->bar); - if (rc) - goto errout_free; + pci_enable_device_bars(iface->pdev, 1 << iface->bar); rc = pci_request_region(iface->pdev, iface->bar, iface->adapter.name); - if (rc) { + + if (rc != 0) { printk(KERN_ERR NAME ": can't allocate PCI BAR %d\n", iface->bar); goto errout_free;