aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/vt1636.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/via/vt1636.c')
-rw-r--r--drivers/video/via/vt1636.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/via/vt1636.c b/drivers/video/via/vt1636.c
index 322a9f993550..a6b37494e79a 100644
--- a/drivers/video/via/vt1636.c
+++ b/drivers/video/via/vt1636.c
@@ -27,7 +27,7 @@ u8 viafb_gpio_i2c_read_lvds(struct lvds_setting_information
27{ 27{
28 u8 data; 28 u8 data;
29 29
30 viaparinfo->i2c_stuff.i2c_port = plvds_chip_info->i2c_port; 30 viaparinfo->shared->i2c_stuff.i2c_port = plvds_chip_info->i2c_port;
31 viafb_i2c_readbyte(plvds_chip_info->lvds_chip_slave_addr, index, &data); 31 viafb_i2c_readbyte(plvds_chip_info->lvds_chip_slave_addr, index, &data);
32 32
33 return data; 33 return data;
@@ -39,7 +39,7 @@ void viafb_gpio_i2c_write_mask_lvds(struct lvds_setting_information
39{ 39{
40 int index, data; 40 int index, data;
41 41
42 viaparinfo->i2c_stuff.i2c_port = plvds_chip_info->i2c_port; 42 viaparinfo->shared->i2c_stuff.i2c_port = plvds_chip_info->i2c_port;
43 43
44 index = io_data.Index; 44 index = io_data.Index;
45 data = viafb_gpio_i2c_read_lvds(plvds_setting_info, plvds_chip_info, 45 data = viafb_gpio_i2c_read_lvds(plvds_setting_info, plvds_chip_info,