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>
This commit is contained in:
parent
f0c7d2b72a
commit
a9672c4b86
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue