drm/i915/overlay: Make do_put_image() as static
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 11:38:21 +0000 (12:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:51 +0000 (10:23 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_overlay.c

index cd0c4bf88b94afde03226494d073823fb69eb12a..5ca7ef01f959ea1d514f7ebf7b85b778210cd9e2 100644 (file)
@@ -689,9 +689,9 @@ static u32 overlay_cmd_reg(struct put_image_params *params)
        return cmd;
 }
 
-int intel_overlay_do_put_image(struct intel_overlay *overlay,
-                              struct drm_gem_object *new_bo,
-                              struct put_image_params *params)
+static int intel_overlay_do_put_image(struct intel_overlay *overlay,
+                                     struct drm_gem_object *new_bo,
+                                     struct put_image_params *params)
 {
        int ret, tmp_width;
        struct overlay_registers *regs;