Skip to content

Commit

Permalink
viafb: remove lcdtbl.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Joseph Chan <[email protected]>
  • Loading branch information
schandinat committed Sep 24, 2010
1 parent e3812ce commit 9133671
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 592 deletions.
8 changes: 7 additions & 1 deletion drivers/video/via/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@
#include <linux/via-core.h>
#include <linux/via_i2c.h>
#include "global.h"
#include "lcdtbl.h"

#define viafb_compact_res(x, y) (((x)<<16)|(y))

/* CLE266 Software Power Sequence */
/* {Mask}, {Data}, {Delay} */
int PowerSequenceOn[3][3] = { {0x10, 0x08, 0x06}, {0x10, 0x08, 0x06},
{0x19, 0x1FE, 0x01} };
int PowerSequenceOff[3][3] = { {0x06, 0x08, 0x10}, {0x00, 0x00, 0x00},
{0xD2, 0x19, 0x01} };

static struct _lcd_scaling_factor lcd_scaling_factor = {
/* LCD Horizontal Scaling Factor Register */
{LCD_HOR_SCALING_FACTOR_REG_NUM,
Expand Down
Loading

0 comments on commit 9133671

Please sign in to comment.