Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86798
b: refs/heads/master
c: fedbb36
h: refs/heads/master
v: v3
  • Loading branch information
Ville Syrjala authored and Linus Torvalds committed Mar 5, 2008
1 parent baa5591 commit 998f939
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5619d823bc0e49d05618cdf955b04055b51a7de5
refs/heads/master: fedbb3625b3c16441de1378ca00a74e9c1733289
8 changes: 4 additions & 4 deletions trunk/drivers/video/sm501fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,13 @@ static int sm501fb_check_var(struct fb_var_screeninfo *var,

case 16:
if (sm->pdata->flags & SM501_FBPD_SWAP_FB_ENDIAN) {
var->red.offset = 11;
var->green.offset = 5;
var->blue.offset = 0;
} else {
var->blue.offset = 11;
var->green.offset = 5;
var->red.offset = 0;
} else {
var->red.offset = 11;
var->green.offset = 5;
var->blue.offset = 0;
}

var->red.length = 5;
Expand Down

0 comments on commit 998f939

Please sign in to comment.