]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00290635-1 mxc vout:Fix a build warning
authorLiu Ying <Ying.Liu@freescale.com>
Wed, 4 Dec 2013 03:26:12 +0000 (11:26 +0800)
committerLiu Ying <Ying.Liu@freescale.com>
Wed, 4 Dec 2013 03:52:00 +0000 (11:52 +0800)
commit2f545daca1b178e72b335545a2997512871b355b
tree2d0b0633d5ef781c5783371d00fe99babab57829
parent49b7664721046eaf83279522d3745f9aa9f7ac42
ENGR00290635-1 mxc vout:Fix a build warning

This patch fixes the following build warning by allocating
a block of virtual memory to cache an instance of the structure
mxc_vout_output instead of using the stack frame.
drivers/media/platform/mxc/output/mxc_vout.c: In function ‘mxc_vidioc_s_crop’:
drivers/media/platform/mxc/output/mxc_vout.c:1529:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/mxc/output/mxc_vout.c