* We also need to make sure pipe_ctx->plane_res.scl_data.h_active uses the
  * original h_border_left value in its calculation.
  */
-int shift_border_left_to_dst(struct pipe_ctx *pipe_ctx)
+static int shift_border_left_to_dst(struct pipe_ctx *pipe_ctx)
 {
        int store_h_border_left = pipe_ctx->stream->timing.h_border_left;
 
        return store_h_border_left;
 }
 
-void restore_border_left_from_dst(struct pipe_ctx *pipe_ctx,
-                                  int store_h_border_left)
+static void restore_border_left_from_dst(struct pipe_ctx *pipe_ctx,
+                                        int store_h_border_left)
 {
        pipe_ctx->stream->dst.x -= store_h_border_left;
        pipe_ctx->stream->timing.h_border_left = store_h_border_left;