diff options
Diffstat (limited to 'drivers/video/sm501fb.c')
-rw-r--r-- | drivers/video/sm501fb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c index e83dfba7e636..6e7810d914cc 100644 --- a/drivers/video/sm501fb.c +++ b/drivers/video/sm501fb.c | |||
@@ -397,7 +397,7 @@ static int sm501fb_set_par_common(struct fb_info *info, | |||
397 | break; | 397 | break; |
398 | 398 | ||
399 | case 16: | 399 | case 16: |
400 | info->fix.visual = FB_VISUAL_DIRECTCOLOR; | 400 | info->fix.visual = FB_VISUAL_TRUECOLOR; |
401 | break; | 401 | break; |
402 | 402 | ||
403 | case 32: | 403 | case 32: |
@@ -613,6 +613,7 @@ static int sm501fb_set_par_crt(struct fb_info *info) | |||
613 | 613 | ||
614 | case 16: | 614 | case 16: |
615 | control |= SM501_DC_CRT_CONTROL_16BPP; | 615 | control |= SM501_DC_CRT_CONTROL_16BPP; |
616 | sm501fb_setup_gamma(fbi, SM501_DC_CRT_PALETTE); | ||
616 | break; | 617 | break; |
617 | 618 | ||
618 | case 32: | 619 | case 32: |
@@ -750,6 +751,7 @@ static int sm501fb_set_par_pnl(struct fb_info *info) | |||
750 | 751 | ||
751 | case 16: | 752 | case 16: |
752 | control |= SM501_DC_PANEL_CONTROL_16BPP; | 753 | control |= SM501_DC_PANEL_CONTROL_16BPP; |
754 | sm501fb_setup_gamma(fbi, SM501_DC_PANEL_PALETTE); | ||
753 | break; | 755 | break; |
754 | 756 | ||
755 | case 32: | 757 | case 32: |