OSDN Git Service

[media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs()
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 24 Feb 2015 18:25:00 +0000 (15:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Mar 2015 14:22:58 +0000 (11:22 -0300)
commitac0b2b3072bf81c2047beb39f1db7a7d745f2f99
tree8bf3f85bcc817240d5c3cb93a92dd7e91543ddb6
parentbb057a791e4e3020b991956781669ff284fd3db6
[media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs()

the declaration for omap_vout_setup_vrfb_bufs() said it
needed 'u32 static_vrfb_allocation' but definition
took 'bool static_vrfb_allocation', this patch fixes the
declaration so that it matches with the definition and
pass a bool instead of int to the call, also included
omap_vout_vrfb.h in omap_vout_vrfb.c file so that sparse doesn't
complain of making omap_vout_setup_vrfb_bufs() as static function.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/omap/omap_vout_vrfb.c
drivers/media/platform/omap/omap_vout_vrfb.h