drm/i915: Make intel_format_to_fourcc() static
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Jan 2015 12:51:49 +0000 (12:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:03 +0000 (09:51 +0100)
v2: Fix conflict caused by the introduction of struct intel_crtc_state

Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h

index d94ab6eb07c531bc7eda9f8fa03c4307a8a59407..95bb420f61e772f996e71decb958ed596e24178d 100644 (file)
@@ -2316,7 +2316,7 @@ unsigned long intel_gen4_compute_page_offset(int *x, int *y,
        }
 }
 
-int intel_format_to_fourcc(int format)
+static int intel_format_to_fourcc(int format)
 {
        switch (format) {
        case DISPPLANE_8BPP:
index 47a452a5ed17106b5e4e05225a9d5de49c8319a5..7f7407af8c191708350b7baa3b02d90d55aef49f 100644 (file)
@@ -991,7 +991,6 @@ enum intel_display_power_domain
 intel_display_port_power_domain(struct intel_encoder *intel_encoder);
 void intel_mode_from_pipe_config(struct drm_display_mode *mode,
                                 struct intel_crtc_state *pipe_config);
-int intel_format_to_fourcc(int format);
 void intel_crtc_wait_for_pending_flips(struct drm_crtc *crtc);
 void intel_modeset_preclose(struct drm_device *dev, struct drm_file *file);