aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via_i2c.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-04-22 16:36:04 -0400
committerJonathan Corbet <corbet@lwn.net>2010-05-07 19:16:03 -0400
commit75b035ace904761b8a340b524533a36e37313b29 (patch)
tree557cb425b40aeb71c5064529a5fbae5c7aa32ffc /drivers/video/via/via_i2c.h
parentc389874805a6849e3e347fc0e13fa170d80840c1 (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.h2
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);
36int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len); 36int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
37 37
38struct viafb_par; 38struct viafb_par;
39int viafb_create_i2c_busses(struct via_port_cfg *cfg); 39int viafb_create_i2c_busses(struct viafb_dev *vdev, struct via_port_cfg *cfg);
40void viafb_delete_i2c_busses(void); 40void viafb_delete_i2c_busses(void);
41struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which); 41struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which);
42#endif /* __VIA_I2C_H__ */ 42#endif /* __VIA_I2C_H__ */