diff options
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r-- | drivers/video/via/hw.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index b996803ae2c1..05be8c13765e 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c | |||
@@ -1791,8 +1791,6 @@ void viafb_init_chip_info(int chip_type) | |||
1791 | viafb_set_iga_path(); | 1791 | viafb_set_iga_path(); |
1792 | 1792 | ||
1793 | viaparinfo->lvds_setting_info->display_method = viafb_lcd_dsp_method; | 1793 | viaparinfo->lvds_setting_info->display_method = viafb_lcd_dsp_method; |
1794 | viaparinfo->lvds_setting_info->get_lcd_size_method = | ||
1795 | GET_LCD_SIZE_BY_USER_SETTING; | ||
1796 | viaparinfo->lvds_setting_info->lcd_mode = viafb_lcd_mode; | 1794 | viaparinfo->lvds_setting_info->lcd_mode = viafb_lcd_mode; |
1797 | viaparinfo->lvds_setting_info2->display_method = | 1795 | viaparinfo->lvds_setting_info2->display_method = |
1798 | viaparinfo->lvds_setting_info->display_method; | 1796 | viaparinfo->lvds_setting_info->display_method; |
@@ -1946,13 +1944,6 @@ static void init_tmds_chip_info(void) | |||
1946 | 1944 | ||
1947 | static void init_lvds_chip_info(void) | 1945 | static void init_lvds_chip_info(void) |
1948 | { | 1946 | { |
1949 | if (viafb_lcd_panel_id > LCD_PANEL_ID_MAXIMUM) | ||
1950 | viaparinfo->lvds_setting_info->get_lcd_size_method = | ||
1951 | GET_LCD_SIZE_BY_VGA_BIOS; | ||
1952 | else | ||
1953 | viaparinfo->lvds_setting_info->get_lcd_size_method = | ||
1954 | GET_LCD_SIZE_BY_USER_SETTING; | ||
1955 | |||
1956 | viafb_lvds_trasmitter_identify(); | 1947 | viafb_lvds_trasmitter_identify(); |
1957 | viafb_init_lcd_size(); | 1948 | viafb_init_lcd_size(); |
1958 | viafb_init_lvds_output_interface(&viaparinfo->chip_info->lvds_chip_info, | 1949 | viafb_init_lvds_output_interface(&viaparinfo->chip_info->lvds_chip_info, |