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>
This commit is contained in:
Geert Uytterhoeven 2007-10-16 01:29:47 -07:00 committed by Linus Torvalds
parent 5cb3626dde
commit 15e4d001ef
1 changed files with 2 additions and 4 deletions

View File

@ -652,7 +652,7 @@ static int ps3fb_get_vblank(struct fb_vblank *vblank)
return 0;
}
int ps3fb_wait_for_vsync(u32 crtc)
static int ps3fb_wait_for_vsync(u32 crtc)
{
int ret;
u64 count;
@ -667,9 +667,7 @@ int ps3fb_wait_for_vsync(u32 crtc)
return 0;
}
EXPORT_SYMBOL_GPL(ps3fb_wait_for_vsync);
void ps3fb_flip_ctl(int on, void *data)
static void ps3fb_flip_ctl(int on, void *data)
{
struct ps3fb_priv *priv = data;
if (on)