forked from luck/tmp_suning_uos_patched
drivers/video/fbdev/sis: Add missing else
The surrounding code and the fact that the previous two if's are rendered useless without this "else" (since SIS_340==55 and XGI_20==75 are greater than SIS_661==15) suggests that the "else" is indeed missing. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
0d0b4b4d1d
commit
621f58cc3a
@ -1511,7 +1511,7 @@ SiS_Get310DRAMType(struct SiS_Private *SiS_Pr)
|
|||||||
} else if(SiS_Pr->ChipType >= SIS_340) {
|
} else if(SiS_Pr->ChipType >= SIS_340) {
|
||||||
/* TODO */
|
/* TODO */
|
||||||
data = 0;
|
data = 0;
|
||||||
} if(SiS_Pr->ChipType >= SIS_661) {
|
} else if(SiS_Pr->ChipType >= SIS_661) {
|
||||||
if(SiS_Pr->SiS_ROMNew) {
|
if(SiS_Pr->SiS_ROMNew) {
|
||||||
data = ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x78) & 0xc0) >> 6);
|
data = ((SiS_GetReg(SiS_Pr->SiS_P3d4,0x78) & 0xc0) >> 6);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user