diff options
author | Jonathan Corbet <corbet@lwn.net> | 2010-04-22 19:39:34 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2010-05-07 19:17:37 -0400 |
commit | 7582eb9be85f35271fd2569681a88a5b243e9380 (patch) | |
tree | 84a234364b9e314e7b25800d473e6047da379a56 /drivers/video/via/via_i2c.h | |
parent | 75b035ace904761b8a340b524533a36e37313b29 (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.h | 6 |
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); | |||
35 | int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data); | 35 | 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 | extern int viafb_i2c_init(void); |
39 | int viafb_create_i2c_busses(struct viafb_dev *vdev, struct via_port_cfg *cfg); | 39 | extern void viafb_i2c_exit(void); |
40 | void viafb_delete_i2c_busses(void); | ||
41 | struct i2c_adapter *viafb_find_adapter(enum viafb_i2c_adap which); | ||
42 | #endif /* __VIA_I2C_H__ */ | 40 | #endif /* __VIA_I2C_H__ */ |