aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-10-16 04:29:47 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:21 -0400
commit15e4d001ef5b14f56fa51665952cbffc0001762f (patch)
treeb879765f866fd1e684e4d43c3763a4a15dfdb6b1 /drivers/video
parent5cb3626dde9760fc70e5e9eb9d08d8c08df42906 (diff)
ps3fb: make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static
Make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static, as they're no (longer) used outside ps3fb. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/ps3fb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index 57da3e1bfeee..4885978dd5be 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -652,7 +652,7 @@ static int ps3fb_get_vblank(struct fb_vblank *vblank)
652 return 0; 652 return 0;
653} 653}
654 654
655int ps3fb_wait_for_vsync(u32 crtc) 655static int ps3fb_wait_for_vsync(u32 crtc)
656{ 656{
657 int ret; 657 int ret;
658 u64 count; 658 u64 count;
@@ -667,9 +667,7 @@ int ps3fb_wait_for_vsync(u32 crtc)
667 return 0; 667 return 0;
668} 668}
669 669
670EXPORT_SYMBOL_GPL(ps3fb_wait_for_vsync); 670static void ps3fb_flip_ctl(int on, void *data)
671
672void ps3fb_flip_ctl(int on, void *data)
673{ 671{
674 struct ps3fb_priv *priv = data; 672 struct ps3fb_priv *priv = data;
675 if (on) 673 if (on)