projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a66ad56
)
q40fb: 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/q40fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/q40fb.c
b/drivers/video/q40fb.c
index
48536c3
..
4beac1d
100644
(file)
--- a/
drivers/video/q40fb.c
+++ b/
drivers/video/q40fb.c
@@
-95,7
+95,7
@@
static int __init q40fb_probe(struct platform_device *dev)
/* mapped in q40/config.c */
q40fb_fix.smem_start = Q40_PHYS_SCREEN_ADDR;
- info = framebuffer_alloc(sizeof(u32) *
25
6, &dev->dev);
+ info = framebuffer_alloc(sizeof(u32) *
1
6, &dev->dev);
if (!info)
return -ENOMEM;