From: Sascha Hauer Date: Wed, 23 May 2007 20:57:52 +0000 (-0700) Subject: imxfb: fix memory hole X-Git-Tag: v2.6.22-rc3~55 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=772dce71f5468d97143aef74be04e34faa712d48;p=linux-2.6 imxfb: fix memory hole info->pseudo_palette was previously kmalloced. Do not overwrite it afterwards Signed-off-by: Sascha Hauer Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c index 6cdf269da4..a125898985 100644 --- a/drivers/video/imxfb.c +++ b/drivers/video/imxfb.c @@ -468,7 +468,6 @@ static int __init imxfb_init_fbinfo(struct device *dev) info->fbops = &imxfb_ops; info->flags = FBINFO_FLAG_DEFAULT; - info->pseudo_palette = (fbi + 1); fbi->rgb[RGB_16] = &def_rgb_16; fbi->rgb[RGB_8] = &def_rgb_8;