Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57383
b: refs/heads/master
c: d2fa9e0
h: refs/heads/master
i:
  57381: c1e0ad2
  57379: 78405b5
  57375: e6190c7
v: v3
  • Loading branch information
Antonino Daplas authored and David S. Miller committed Jun 5, 2007
1 parent 9a73f6d commit b09e2fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 353076fee81318d056c7a853b1bf6ad1f81d050d
refs/heads/master: d2fa9e05e3876198d8ab31624fe84512a0a44b45
4 changes: 2 additions & 2 deletions trunk/drivers/video/ffb.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ static int ffb_setcolreg(unsigned regno,
{
u32 value;

if (regno >= 256)
if (regno >= 16)
return 1;

red >>= 8;
Expand Down Expand Up @@ -903,7 +903,7 @@ ffb_init_fix(struct fb_info *info)
struct all_info {
struct fb_info info;
struct ffb_par par;
u32 pseudo_palette[256];
u32 pseudo_palette[16];
};

static int ffb_init_one(struct of_device *op)
Expand Down

0 comments on commit b09e2fc

Please sign in to comment.