mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pxafb: introduce LCD_TYPE_MASK and use it.
Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Eric Miao <[email protected]>
This commit is contained in:
parent
3ad4f59705
commit
1ec26db1f8
2 changed files with 2 additions and 1 deletions
|
|
@ -1372,7 +1372,7 @@ static void pxafb_decode_mach_info(struct pxafb_info *fbi,
|
|||
fbi->cmap_inverse = inf->cmap_inverse;
|
||||
fbi->cmap_static = inf->cmap_static;
|
||||
|
||||
switch (lcd_conn & 0xf) {
|
||||
switch (lcd_conn & LCD_TYPE_MASK) {
|
||||
case LCD_TYPE_MONO_STN:
|
||||
fbi->lccr0 = LCCR0_CMS;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue