[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0909221802310.20456@pc-004.diku.dk>
Date: Tue, 22 Sep 2009 18:03:17 +0200 (CEST)
From: Julia Lawall <julia@...u.dk>
To: thomas@...ischhofer.net, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: [PATCH] drivers/video/sis: change the field used with the VB_SISLVDS
constant
From: Julia Lawall <julia@...u.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@...u.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 {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists