[PATCH] drivers/video/sis: change the field used with the VB_SISLVDSconstant

From: Julia Lawall
Date: Tue Sep 22 2009 - 12:03:25 EST


From: Julia Lawall <julia@xxxxxxx>

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@xxxxxxx>

---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/