aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2012-03-08 11:12:04 -0500
committerDave Airlie <airlied@redhat.com>2012-03-10 08:06:29 -0500
commit44332ddfeb07960e57fd6db9be0a3f7c6a01d4e9 (patch)
treec1aaada86c6f472d227153e172ec4455e442595d
parentcbc5a1850d83bbf2676fa56c3badb2b9a442539e (diff)
gma500: oaktrail_crtc: mark few functions as static
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index ff4f7adb48e8..40d10ae67158 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -115,7 +115,7 @@ static void oaktrail_clock(int refclk, struct oaktrail_clock_t *clock)
115 clock->dot = (refclk * clock->m) / (14 * clock->p1); 115 clock->dot = (refclk * clock->m) / (14 * clock->p1);
116} 116}
117 117
118void mrstPrintPll(char *prefix, struct oaktrail_clock_t *clock) 118static void mrstPrintPll(char *prefix, struct oaktrail_clock_t *clock)
119{ 119{
120 pr_debug("%s: dotclock = %d, m = %d, p1 = %d.\n", 120 pr_debug("%s: dotclock = %d, m = %d, p1 = %d.\n",
121 prefix, clock->dot, clock->m, clock->p1); 121 prefix, clock->dot, clock->m, clock->p1);
@@ -514,7 +514,7 @@ static bool oaktrail_crtc_mode_fixup(struct drm_crtc *crtc,
514 return true; 514 return true;
515} 515}
516 516
517int oaktrail_pipe_set_base(struct drm_crtc *crtc, 517static int oaktrail_pipe_set_base(struct drm_crtc *crtc,
518 int x, int y, struct drm_framebuffer *old_fb) 518 int x, int y, struct drm_framebuffer *old_fb)
519{ 519{
520 struct drm_device *dev = crtc->dev; 520 struct drm_device *dev = crtc->dev;