diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-04-22 16:36:04 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 19:16:03 -0400 |
commit | 75b035ace904761b8a340b524533a36e37313b29 (patch) | |
tree | 557cb425b40aeb71c5064529a5fbae5c7aa32ffc /drivers/video/via/via_i2c.h | |
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_i2c.h')
-rw-r--r-- | drivers/video/via/via_i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/via_i2c.h b/drivers/video/via/via_i2c.h index 00932914b4ed..0685de9a0c7a 100644 --- a/drivers/video/via/via_i2c.h +++ b/drivers/video/via/via_i2c.h | |||
@@ -36,7 +36,7 @@ int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data); | |||
36 | int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len); | 36 | int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len); |
37 | 37 | ||
38 | struct viafb_par; | 38 | struct viafb_par; |
39 | int viafb_create_i2c_busses(struct via_port_cfg *cfg); | 39 | int viafb_create_i2c_busses(struct viafb_dev *vdev, struct via_port_cfg *cfg); |
40 | void viafb_delete_i2c_busses(void); | 40 | void viafb_delete_i2c_busses(void); |
41 | struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which); | 41 | struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which); |
42 | #endif /* __VIA_I2C_H__ */ | 42 | #endif /* __VIA_I2C_H__ */ |