]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit897044e99e437e908eef566d910692830546c2d9
tree0c626cc26dc115392f0138cb7e626d04a7983ae7
parente1d01789017cf327d63f7748025317763253960b
OMAP: DSS2: OMAPFB: Reduce stack usage

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>
drivers/video/omap2/omapfb/omapfb-main.c