summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2011-12-19 20:39:18 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:10:22 +0800
commitcb9befd1dc08d064c809bacd319e3121738ae1bc (patch)
tree46edd8ae4c8c3b7f48557dc65161208261688865 /drivers/media
parente97e30a30150bc59d03013415dec96f7f739ff7e (diff)
fix the building warnings
Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/mxc/output/mxc_vout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/output/mxc_vout.c b/drivers/media/video/mxc/output/mxc_vout.c
index 57e684f99308..b93e14805ece 100644
--- a/drivers/media/video/mxc/output/mxc_vout.c
+++ b/drivers/media/video/mxc/output/mxc_vout.c
@@ -678,7 +678,7 @@ static int mxc_vout_release(struct file *file)
static int mxc_vout_open(struct file *file)
{
struct mxc_vout_output *vout = NULL;
- int ret;
+ int ret = 0;
vout = video_drvdata(file);