Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337791
b: refs/heads/master
c: bdc9eb1
h: refs/heads/master
i:
  337789: 3343f64
  337787: 42a6094
  337783: 01b4851
  337775: aee7d0f
  337759: 8d0a843
  337727: 5836674
  337663: 574af93
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 4222ef6 commit 1b7bc67
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 108 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d1c6299251c0489d6103eaf149c48492ae3e26f
refs/heads/master: bdc9eb142cedda1dad47cea8b4112d5f03913ed2
16 changes: 8 additions & 8 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ static void XGI_GetLVDSResInfo(unsigned short ModeNo,
pVBInfo->VDE = yres;
}

static void *XGI_GetLcdPtr(struct XGI330_LCDDataTablStruct const *table,
static void const *XGI_GetLcdPtr(struct XGI330_LCDDataTablStruct const *table,
unsigned short ModeNo,
unsigned short ModeIdIndex,
unsigned short RefreshRateTableIndex,
Expand Down Expand Up @@ -1380,7 +1380,7 @@ static void XGI_GetLVDSData(unsigned short ModeNo, unsigned short ModeIdIndex,
unsigned short RefreshRateTableIndex,
struct vb_device_info *pVBInfo)
{
struct SiS_LVDSData *LCDPtr = NULL;
struct SiS_LVDSData const *LCDPtr = NULL;

if (pVBInfo->VBInfo & (SetCRT2ToLCD | XGI_SetCRT2ToLCDA)) {
LCDPtr = XGI_GetLcdPtr(XGI_EPLLCDDataPtr, ModeNo, ModeIdIndex,
Expand Down Expand Up @@ -1421,8 +1421,8 @@ static void XGI_ModCRT1Regs(unsigned short ModeNo, unsigned short ModeIdIndex,
{
unsigned char index;
unsigned short i;
struct XGI_LVDSCRT1HDataStruct *LCDPtr = NULL;
struct XGI_LVDSCRT1VDataStruct *LCDPtr1 = NULL;
struct XGI_LVDSCRT1HDataStruct const *LCDPtr = NULL;
struct XGI_LVDSCRT1VDataStruct const *LCDPtr1 = NULL;

index = pVBInfo->RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;
index = index & IndexMask;
Expand Down Expand Up @@ -1526,8 +1526,8 @@ static void XGI_SetLVDSRegs(unsigned short ModeNo, unsigned short ModeIdIndex,
{
unsigned short tempbx, tempax, tempcx, tempdx, push1, push2, modeflag;
unsigned long temp, temp1, temp2, temp3, push3;
struct XGI_LCDDesStruct *LCDPtr = NULL;
struct XGI330_LCDDataDesStruct2 *LCDPtr1 = NULL;
struct XGI_LCDDesStruct const *LCDPtr = NULL;
struct XGI330_LCDDataDesStruct2 const *LCDPtr1 = NULL;

modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
if (pVBInfo->LCDInfo & EnableScalingLCD)
Expand Down Expand Up @@ -2770,7 +2770,7 @@ static void XGI_GetCRT2Data(unsigned short ModeNo, unsigned short ModeIdIndex,
{
unsigned short tempax = 0, tempbx = 0, modeflag, resinfo;

struct SiS_LCDData *LCDPtr = NULL;
struct SiS_LCDData const *LCDPtr = NULL;

/* si+Ext_ResInfo */
modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
Expand Down Expand Up @@ -3975,7 +3975,7 @@ static void XGI_SetLCDRegs(unsigned short ModeNo, unsigned short ModeIdIndex,
unsigned short push1, push2, pushbx, tempax, tempbx, tempcx, temp,
tempah, tempbh, tempch, resinfo, modeflag, CRT1Index;

struct XGI_LCDDesStruct *LCDBDesPtr = NULL;
struct XGI_LCDDesStruct const *LCDBDesPtr = NULL;

/* si+Ext_ResInfo */
modeflag = pVBInfo->EModeIDTable[ModeIdIndex].Ext_ModeFlag;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/xgifb/vb_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct XGI330_LCDDataTablStruct {
unsigned char PANELID;
unsigned short MASK;
unsigned short CAP;
void *DATAPTR;
void const *DATAPTR;
};

struct XGI330_TVDataTablStruct {
Expand Down Expand Up @@ -178,7 +178,7 @@ struct vb_device_info {
unsigned char *pXGINew_DRAMTypeDefinition;
unsigned char XGINew_CR97;

struct XGI330_LCDCapStruct *LCDCapList;
struct XGI330_LCDCapStruct const *LCDCapList;

struct XGI_TimingHStruct *TimingH;
struct XGI_TimingVStruct *TimingV;
Expand Down
Loading

0 comments on commit 1b7bc67

Please sign in to comment.