diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-08-07 14:47:01 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-23 22:14:28 -0400 |
commit | 91336712ce579dd8e83bc07bf0a45b7c6963eed2 (patch) | |
tree | 9943265f2f732e04b20e368ec0b8714a7158e9c0 /drivers/video/via/lcd.c | |
parent | e3812ce4ee43f50a7423de70609f42990039f4ae (diff) |
viafb: remove lcdtbl.h
This patch moves the power on/off sequences to lcd.c as they are only
used there. This allows removing lcdtbl.h as the other stuff is not
used.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers/video/via/lcd.c')
-rw-r--r-- | drivers/video/via/lcd.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/video/via/lcd.c b/drivers/video/via/lcd.c index fc25ae30c5f6..bda124682dab 100644 --- a/drivers/video/via/lcd.c +++ b/drivers/video/via/lcd.c | |||
@@ -21,10 +21,16 @@ | |||
21 | #include <linux/via-core.h> | 21 | #include <linux/via-core.h> |
22 | #include <linux/via_i2c.h> | 22 | #include <linux/via_i2c.h> |
23 | #include "global.h" | 23 | #include "global.h" |
24 | #include "lcdtbl.h" | ||
25 | 24 | ||
26 | #define viafb_compact_res(x, y) (((x)<<16)|(y)) | 25 | #define viafb_compact_res(x, y) (((x)<<16)|(y)) |
27 | 26 | ||
27 | /* CLE266 Software Power Sequence */ | ||
28 | /* {Mask}, {Data}, {Delay} */ | ||
29 | int PowerSequenceOn[3][3] = { {0x10, 0x08, 0x06}, {0x10, 0x08, 0x06}, | ||
30 | {0x19, 0x1FE, 0x01} }; | ||
31 | int PowerSequenceOff[3][3] = { {0x06, 0x08, 0x10}, {0x00, 0x00, 0x00}, | ||
32 | {0xD2, 0x19, 0x01} }; | ||
33 | |||
28 | static struct _lcd_scaling_factor lcd_scaling_factor = { | 34 | static struct _lcd_scaling_factor lcd_scaling_factor = { |
29 | /* LCD Horizontal Scaling Factor Register */ | 35 | /* LCD Horizontal Scaling Factor Register */ |
30 | {LCD_HOR_SCALING_FACTOR_REG_NUM, | 36 | {LCD_HOR_SCALING_FACTOR_REG_NUM, |