Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60900
b: refs/heads/master
c: 4a1b927
h: refs/heads/master
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jul 17, 2007
1 parent 4c4004f commit d2e2e92
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 7592181005261c3d90398375ab6922f56cdd2bad
refs/heads/master: 4a1b92793a0824d31f165fe3a97634dbb9a3ae18
5 changes: 3 additions & 2 deletions trunk/drivers/video/epson1355fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

struct epson1355_par {
unsigned long reg_addr;
u32 pseudo_palette[16];
};

/* ------------------------------------------------------------------------- */
Expand Down Expand Up @@ -635,7 +636,7 @@ int __init epson1355fb_probe(struct platform_device *dev)
goto bail;
}

info = framebuffer_alloc(sizeof(struct epson1355_par) + sizeof(u32) * 256, &dev->dev);
info = framebuffer_alloc(sizeof(struct epson1355_par), &dev->dev);
if (!info) {
rc = -ENOMEM;
goto bail;
Expand All @@ -648,7 +649,7 @@ int __init epson1355fb_probe(struct platform_device *dev)
rc = -ENOMEM;
goto bail;
}
info->pseudo_palette = (void *)(default_par + 1);
info->pseudo_palette = default_par->pseudo_palette;

info->screen_base = ioremap(EPSON1355FB_FB_PHYS, EPSON1355FB_FB_LEN);
if (!info->screen_base) {
Expand Down

0 comments on commit d2e2e92

Please sign in to comment.