aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-08-08 17:28:59 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-09 04:46:15 -0400
commite7457a9a333a95e51dd77515eea326a181f968bc (patch)
treeb744127de5a7ad422c8ce1c785f6ffc901241b0d /drivers/gpu/drm/i915/intel_display.c
parent1414f6c0497acc9ca73f492d1cf2a2b87bed950b (diff)
drm/i915: Make intel_set_mode() static
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 1fd891554e5f..2972a0d68717 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -50,6 +50,10 @@ static void i9xx_crtc_clock_get(struct intel_crtc *crtc,
50static void ironlake_crtc_clock_get(struct intel_crtc *crtc, 50static void ironlake_crtc_clock_get(struct intel_crtc *crtc,
51 struct intel_crtc_config *pipe_config); 51 struct intel_crtc_config *pipe_config);
52 52
53static int intel_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode,
54 int x, int y, struct drm_framebuffer *old_fb);
55
56
53typedef struct { 57typedef struct {
54 int min, max; 58 int min, max;
55} intel_range_t; 59} intel_range_t;
@@ -8732,9 +8736,9 @@ out:
8732 return ret; 8736 return ret;
8733} 8737}
8734 8738
8735int intel_set_mode(struct drm_crtc *crtc, 8739static int intel_set_mode(struct drm_crtc *crtc,
8736 struct drm_display_mode *mode, 8740 struct drm_display_mode *mode,
8737 int x, int y, struct drm_framebuffer *fb) 8741 int x, int y, struct drm_framebuffer *fb)
8738{ 8742{
8739 int ret; 8743 int ret;
8740 8744