aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via_i2c.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-04-22 19:39:34 -0400
committerJonathan Corbet <corbet@lwn.net>2010-05-07 19:17:37 -0400
commit7582eb9be85f35271fd2569681a88a5b243e9380 (patch)
tree84a234364b9e314e7b25800d473e6047da379a56 /drivers/video/via/via_i2c.h
parent75b035ace904761b8a340b524533a36e37313b29 (diff)
viafb: Turn GPIO and i2c into proper platform devices
Another step toward making this thing a real multifunction device driver. Cc: ScottFang@viatech.com.cn Cc: JosephChan@via.com.tw Cc: Harald Welte <laforge@gnumonks.org> Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> 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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/via/via_i2c.h b/drivers/video/via/via_i2c.h
index 0685de9a0c7a..b2332cce9d18 100644
--- a/drivers/video/via/via_i2c.h
+++ b/drivers/video/via/via_i2c.h
@@ -35,8 +35,6 @@ int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata);
35int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data); 35int 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; 38extern int viafb_i2c_init(void);
39int viafb_create_i2c_busses(struct viafb_dev *vdev, struct via_port_cfg *cfg); 39extern void viafb_i2c_exit(void);
40void viafb_delete_i2c_busses(void);
41struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which);
42#endif /* __VIA_I2C_H__ */ 40#endif /* __VIA_I2C_H__ */