q40fb: The pseudo_palette is only 16 elements long
PATCH 12/24 q40fb: The pseudo_palette is only 16 elements long
The pseudo_palette is only 16 elements long.
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/q40fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/q40fb.c +1 -1
@@ -95,7 +95,7 @@ static int __init q40fb_probe(struct pla/* mapped in q40/config.c */ q40fb_fix.smem_start =Q40_PHYS_SCREEN_ADDR ; - info =framebuffer_alloc (sizeof (u32) *256 , &dev->dev); + info =framebuffer_alloc (sizeof (u32) *16 , &dev->dev);if (!info)return -ENOMEM ;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/