summaryrefslogtreecommitdiffstats
path: root/drivers/video/nuc900fb.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-01-17 16:24:36 +0800
committerPaul Mundt <lethal@linux-sh.org>2011-01-18 13:37:59 +0900
commitd10df505f81064cf983fb3c5111b004d181a10f5 (patch)
tree8ae9fd7b5d3aedbbdca6cb73ada1aa23c03a2e32 /drivers/video/nuc900fb.c
parente6f597a1425b5af64917be3448b29e2d5a585ac8 (diff)
downloadlinux-d10df505f81064cf983fb3c5111b004d181a10f5.tar.bz2
video: nuc900fb: fix compile error
This patch fixes below compile error: CC drivers/video/nuc900fb.o drivers/video/nuc900fb.c: In function 'nuc900fb_suspend': drivers/video/nuc900fb.c:726: error: too few arguments to function 'nuc900fb_stop_lcd' drivers/video/nuc900fb.c: In function 'nuc900fb_resume': drivers/video/nuc900fb.c:743: error: 'bfinfo' undeclared (first use in this function) drivers/video/nuc900fb.c:743: error: (Each undeclared identifier is reported only once drivers/video/nuc900fb.c:743: error: for each function it appears in.) make[2]: *** [drivers/video/nuc900fb.o] Error 1 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2 Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/nuc900fb.c')
-rw-r--r--drivers/video/nuc900fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c
index 62498bd662fc..29ef92f97f0c 100644
--- a/drivers/video/nuc900fb.c
+++ b/drivers/video/nuc900fb.c
@@ -723,7 +723,7 @@ static int nuc900fb_suspend(struct platform_device *dev, pm_message_t state)
struct fb_info *fbinfo = platform_get_drvdata(dev);
struct nuc900fb_info *info = fbinfo->par;
- nuc900fb_stop_lcd();
+ nuc900fb_stop_lcd(fbinfo);
msleep(1);
clk_disable(info->clk);
return 0;
@@ -740,7 +740,7 @@ static int nuc900fb_resume(struct platform_device *dev)
msleep(1);
nuc900fb_init_registers(fbinfo);
- nuc900fb_activate_var(bfinfo);
+ nuc900fb_activate_var(fbinfo);
return 0;
}