diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-01-17 03:24:36 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-17 23:37:59 -0500 |
commit | d10df505f81064cf983fb3c5111b004d181a10f5 (patch) | |
tree | 8ae9fd7b5d3aedbbdca6cb73ada1aa23c03a2e32 /drivers/video | |
parent | e6f597a1425b5af64917be3448b29e2d5a585ac8 (diff) |
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')
-rw-r--r-- | drivers/video/nuc900fb.c | 4 |
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) | |||
723 | struct fb_info *fbinfo = platform_get_drvdata(dev); | 723 | struct fb_info *fbinfo = platform_get_drvdata(dev); |
724 | struct nuc900fb_info *info = fbinfo->par; | 724 | struct nuc900fb_info *info = fbinfo->par; |
725 | 725 | ||
726 | nuc900fb_stop_lcd(); | 726 | nuc900fb_stop_lcd(fbinfo); |
727 | msleep(1); | 727 | msleep(1); |
728 | clk_disable(info->clk); | 728 | clk_disable(info->clk); |
729 | return 0; | 729 | return 0; |
@@ -740,7 +740,7 @@ static int nuc900fb_resume(struct platform_device *dev) | |||
740 | msleep(1); | 740 | msleep(1); |
741 | 741 | ||
742 | nuc900fb_init_registers(fbinfo); | 742 | nuc900fb_init_registers(fbinfo); |
743 | nuc900fb_activate_var(bfinfo); | 743 | nuc900fb_activate_var(fbinfo); |
744 | 744 | ||
745 | return 0; | 745 | return 0; |
746 | } | 746 | } |