Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91336712 authored by Florian Tobias Schandinat's avatar Florian Tobias Schandinat
Browse files

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: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
parent e3812ce4
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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,

drivers/video/via/lcdtbl.h

deleted100644 → 0
+0 −591

File deleted.

Preview size limit exceeded, changes collapsed.