summaryrefslogtreecommitdiffstats
path: root/drivers/video/tmiofb.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2009-09-23 01:47:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 16:39:57 +0200
commita9672c4b861afcf547bfe2cafeec4ca85a63da67 (patch)
tree3158b18ceaa532dee75a0a796b568e9fc5dc1014 /drivers/video/tmiofb.c
parentvgacon: prevent vgacon_deinit from touching the hardware for inactive consoles. (diff)
downloadlinux-a9672c4b861afcf547bfe2cafeec4ca85a63da67.tar.xz
linux-a9672c4b861afcf547bfe2cafeec4ca85a63da67.zip
drivers/video/tmiofb.c: fix uninitialised return value
drivers/video/tmiofb.c: In function 'tmiofb_resume': drivers/video/tmiofb.c:977: warning: 'retval' may be used uninitialized in this function Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/video/tmiofb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tmiofb.c b/drivers/video/tmiofb.c
index a1eb0862255b..6913fe168c25 100644
--- a/drivers/video/tmiofb.c
+++ b/drivers/video/tmiofb.c
@@ -974,7 +974,7 @@ static int tmiofb_resume(struct platform_device *dev)
{
struct fb_info *info = platform_get_drvdata(dev);
struct mfd_cell *cell = dev->dev.platform_data;
- int retval;
+ int retval = 0;
acquire_console_sem();