lkml.org 
[lkml]   [2009]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/video/sis: change the field used with the VB_SISLVDS constant
From: Julia Lawall <julia@diku.dk>

The constant VB_SISLVDS and other VB_ constants are used elsewhere in this
file with the SiS_VBType field, not the SiS_VBInfo field.

Signed-off-by: Julia Lawall <julia@diku.dk>

---
drivers/video/sis/init301.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/sis/init301.c b/drivers/video/sis/init301.c
index da33d80..8b5201b 100644
--- a/drivers/video/sis/init301.c
+++ b/drivers/video/sis/init301.c
@@ -5848,7 +5848,7 @@ SiS_SetGroup1_LVDS(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned s
#ifdef SIS315H
if(SiS_Pr->ChipType >= SIS_315H) {
if(SiS_Pr->SiS_VBInfo & SetCRT2ToLCDA) {
- if((islvds) || (SiS_Pr->SiS_VBInfo & VB_SISLVDS)) {
+ if ((islvds) || (SiS_Pr->SiS_VBType & VB_SISLVDS)) {
SiS_SetReg(SiS_Pr->SiS_Part1Port,0x1e,0x20);
}
} else {

\
 
 \ /
  Last update: 2009-09-22 18:05    [W:0.048 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site