aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/via/lcd.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat2010-06-02 19:41:23 +0000
committerFlorian Tobias Schandinat2010-07-23 14:35:50 +0000
commitcc3fd679a344468e892a109b8de3e2948ce14e0f (patch)
treedf07323f350c4d90c81e7e2f0584d23c20e2e347 /drivers/video/via/lcd.h
parentad0676cf81c240e3857dc090c9ce0dde7537ac93 (diff)
viafb: simplify lcd size "detection"
viafb: simplify lcd size "detection" Remove all occurences of get_lcd_size_method as only the values GET_LCD_SIZE_BY_VGA_BIOS and GET_LCD_SIZE_BY_USER_SETTING were used which had the identical code so there is no need to make things look more complicated than they actually are. Just a bit of of cleanup, really no regressions expected. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers/video/via/lcd.h')
-rw-r--r--drivers/video/via/lcd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/via/lcd.h b/drivers/video/via/lcd.h
index 9762ec62b495..b348efc360b8 100644
--- a/drivers/video/via/lcd.h
+++ b/drivers/video/via/lcd.h
@@ -28,11 +28,6 @@
#define VT3271_DEVICE_ID_REG 0x02
#define VT3271_DEVICE_ID 0x71
-#define GET_LCD_SIZE_BY_SYSTEM_BIOS 0x01
-#define GET_LCD_SIZE_BY_VGA_BIOS 0x02
-#define GET_LCD_SZIE_BY_HW_STRAPPING 0x03
-#define GET_LCD_SIZE_BY_USER_SETTING 0x04
-
/* Definition DVI Panel ID*/
/* Resolution: 640x480, Channel: single, Dithering: Enable */
#define LCD_PANEL_ID0_640X480 0x00