Skip to contentSkip to conversation

ps3fb: Make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static

PATCH New Antonino Daplas 1 participant 1 message Oct 13, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 4/15 ps3fb: Make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static

From: Geert Uytterhoeven <[email protected]>

Make ps3fb_wait_for_vsync() and ps3fb_flip_ctl() static, as they're no (longer) used outside ps3fb.

---

 drivers/video/ps3fb.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
drivers/video/ps3fb.c +2 -4
index 74de53a..c9656a5 100644
@@ -652,7 +652,7 @@ static int ps3fb_get_vblank(struct fb_vb
 	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)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/