projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce303c0
)
sgivwfb: the pseudo_palette is only 16 elements long
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:40 +0000
(
04:05
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:12 +0000
(10:23 -0700)
The pseudo_palette is only 16 elements long.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sgivwfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/sgivwfb.c
b/drivers/video/sgivwfb.c
index
ebb6756
..
4fb1624
100644
(file)
--- a/
drivers/video/sgivwfb.c
+++ b/
drivers/video/sgivwfb.c
@@
-752,7
+752,7
@@
static int __init sgivwfb_probe(struct platform_device *dev)
struct fb_info *info;
char *monitor;
- info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) *
25
6, &dev->dev);
+ info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) *
1
6, &dev->dev);
if (!info)
return -ENOMEM;
par = info->par;