OMAP: DSS2: OMAPFB: Reduce stack usage
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 30 Apr 2011 12:26:40 +0000 (15:26 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 12 May 2011 16:39:52 +0000 (19:39 +0300)
omapfb_mode_to_timings() had struct fb_info, struct fb_var and struct
fb_ops allocated from stack. This caused the stack usage grow quite
high.

Use kzalloc to allocate the structs instead.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

No differences found