Skip to content

Commit

Permalink
ps3fb: make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 16, 2007
1 parent 5cb3626 commit 15e4d00
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/video/ps3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)
Expand Down

0 comments on commit 15e4d00

Please sign in to comment.