Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271241
b: refs/heads/master
c: 4d3c68a
h: refs/heads/master
i:
  271239: 6b7e15f
v: v3
  • Loading branch information
Laurent Pinchart authored and Paul Mundt committed Jun 15, 2011
1 parent 88054fb commit 3ad4261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: e4c735af0076923643af48577fc9ad6e123a55fa
refs/heads/master: 4d3c68a1b468741fcebfbfb0b92ff9e75a063484
2 changes: 1 addition & 1 deletion trunk/drivers/video/vga16fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static void vga16fb_pan_var(struct fb_info *info,
* granularity if someone supports xoffset in bit resolution */
vga_io_r(VGA_IS1_RC); /* reset flip-flop */
vga_io_w(VGA_ATT_IW, VGA_ATC_PEL);
if (var->bits_per_pixel == 8)
if (info->var.bits_per_pixel == 8)
vga_io_w(VGA_ATT_IW, (xoffset & 3) << 1);
else
vga_io_w(VGA_ATT_IW, xoffset & 7);
Expand Down

0 comments on commit 3ad4261

Please sign in to comment.