Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219789
b: refs/heads/master
c: 51973d7
h: refs/heads/master
i:
  219787: ff32916
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 8, 2010
1 parent 0391901 commit 1db5a40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 675d6409ae5ac0816af5e672b7030e350408d563
refs/heads/master: 51973d7fa0a2f2087e640200fda23f6bac71fae2
9 changes: 2 additions & 7 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo)
unsigned char XGISetModeNew(struct xgi_hw_device_info *HwDeviceExtension,
unsigned short ModeNo)
{
unsigned short ModeIdIndex = 0;
unsigned short ModeIdIndex;
/* unsigned char *pVBInfo->FBAddr = HwDeviceExtension->pjVideoMemoryAddress; */
struct vb_device_info VBINF;
struct vb_device_info *pVBInfo = &VBINF;
Expand Down Expand Up @@ -3512,9 +3512,6 @@ unsigned char XGI_GetLCDInfo(unsigned short ModeNo, unsigned short ModeIdIndex,
unsigned char XGI_SearchModeID(unsigned short ModeNo,
unsigned short *ModeIdIndex, struct vb_device_info *pVBInfo)
{

#ifdef LINUX /* chiawen for linux solution */

if (ModeNo <= 5)
ModeNo |= 1;
if (ModeNo <= 0x13) {
Expand All @@ -3541,8 +3538,6 @@ unsigned char XGI_SearchModeID(unsigned short ModeNo,
}
}

#endif

return 1;
}

Expand Down Expand Up @@ -3834,7 +3829,7 @@ unsigned char XGI_SetCRT2Group301(unsigned short ModeNo,
struct xgi_hw_device_info *HwDeviceExtension,
struct vb_device_info *pVBInfo)
{
unsigned short tempbx, ModeIdIndex = 0, RefreshRateTableIndex;
unsigned short tempbx, ModeIdIndex, RefreshRateTableIndex;

tempbx = pVBInfo->VBInfo;
pVBInfo->SetFlag |= ProgrammingCRT2;
Expand Down

0 comments on commit 1db5a40

Please sign in to comment.