drm/i915: intel_frontbuffer_flush can now be static
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Jul 2015 21:08:37 +0000 (18:08 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 17:17:48 +0000 (19:17 +0200)
So make it static.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_frontbuffer.c

index c8635110a96db7f1878fa1caa1cc5d28c2521a7d..b9c01c5b881fd51c8bae7791dbf727b935fbcce7 100644 (file)
@@ -977,9 +977,6 @@ void intel_frontbuffer_flip_prepare(struct drm_device *dev,
                                    unsigned frontbuffer_bits);
 void intel_frontbuffer_flip_complete(struct drm_device *dev,
                                     unsigned frontbuffer_bits);
-void intel_frontbuffer_flush(struct drm_device *dev,
-                            unsigned frontbuffer_bits,
-                            enum fb_op_origin origin);
 void intel_frontbuffer_flip(struct drm_device *dev,
                            unsigned frontbuffer_bits);
 unsigned int intel_fb_align_height(struct drm_device *dev,
index e22d0b1423923337db4ce26dc24fd3da0511e14c..c405c2deb8bf81c69bf204d94f5b3c42db499044 100644 (file)
@@ -113,9 +113,9 @@ void intel_fb_obj_invalidate(struct drm_i915_gem_object *obj,
  *
  * Can be called without any locks held.
  */
-void intel_frontbuffer_flush(struct drm_device *dev,
-                            unsigned frontbuffer_bits,
-                            enum fb_op_origin origin)
+static void intel_frontbuffer_flush(struct drm_device *dev,
+                                   unsigned frontbuffer_bits,
+                                   enum fb_op_origin origin)
 {
        struct drm_i915_private *dev_priv = to_i915(dev);