diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-04-22 14:36:04 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 17:16:03 -0600 |
commit | 75b035ace904761b8a340b524533a36e37313b29 (patch) | |
tree | 557cb425b40aeb71c5064529a5fbae5c7aa32ffc /drivers/video/via/via-core.c | |
parent | c389874805a6849e3e347fc0e13fa170d80840c1 (diff) |
viafb: Convert GPIO and i2c to the new indexed port ops
Also add low-level locking to the i2c driver.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/video/via/via-core.c')
-rw-r--r-- | drivers/video/via/via-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via-core.c b/drivers/video/via/via-core.c index 806237e8b4a4..a1b5dae285a4 100644 --- a/drivers/video/via/via-core.c +++ b/drivers/video/via/via-core.c @@ -213,7 +213,7 @@ static int __devinit via_pci_probe(struct pci_dev *pdev, * Create the I2C busses. Bailing out on failure seems extreme, * but that's what the code did before. */ - ret = viafb_create_i2c_busses(adap_configs); + ret = viafb_create_i2c_busses(&global_dev, adap_configs); if (ret) goto out_teardown; /* |