Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254468

[PATCH 1/6] drm/vc4: vc4_plane_duplicate_state() can be static

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject [PATCH 1/6] drm/vc4: vc4_plane_duplicate_state() can be static
Date 2015-10-23 12:40 +0200
Message-ID <qmHVo-7dR-17@gated-at.bofh.it> (permalink)
References <qmHVn-7dR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: kbuild test robot <fengguang.wu@intel.com>

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
---
 drivers/gpu/drm/vc4/vc4_plane.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index cdd8b10..2db5092 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -70,7 +70,7 @@ static bool plane_enabled(struct drm_plane_state *state)
 	return state->fb && state->crtc;
 }
 
-struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane)
+static struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane)
 {
 	struct vc4_plane_state *vc4_state;
 
@@ -97,8 +97,8 @@ struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane)
 	return &vc4_state->base;
 }
 
-void vc4_plane_destroy_state(struct drm_plane *plane,
-			     struct drm_plane_state *state)
+static void vc4_plane_destroy_state(struct drm_plane *plane,
+				    struct drm_plane_state *state)
 {
 	struct vc4_plane_state *vc4_state = to_vc4_plane_state(state);
 
@@ -108,7 +108,7 @@ void vc4_plane_destroy_state(struct drm_plane *plane,
 }
 
 /* Called during init to allocate the plane's atomic state. */
-void vc4_plane_reset(struct drm_plane *plane)
+static void vc4_plane_reset(struct drm_plane *plane)
 {
 	struct vc4_plane_state *vc4_state;
 
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

VC4 fixes for -next Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
  [PATCH 4/6] drm/vc4: Fix some failure to track __iomem decorations on pointers. Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
    Re: [PATCH 4/6] drm/vc4: Fix some failure to track __iomem decorations on pointers. Eric Anholt <eric@anholt.net> - 2015-10-23 18:40 +0200
  [PATCH 6/6] drm/vc4: Add support for more a few more RGB display plane formats. Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
  [PATCH 1/6] drm/vc4: vc4_plane_duplicate_state() can be static Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
  [PATCH 3/6] drm/vc4: fix itnull.cocci warnings Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
  [PATCH 5/6] drm/vc4: Make sure that planes aren't scaled. Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200
    Re: [PATCH 5/6] drm/vc4: Make sure that planes aren't scaled. Daniel Vetter <daniel@ffwll.ch> - 2015-10-23 13:30 +0200
  [PATCH 2/6] drm/vc4: fix platform_no_drv_owner.cocci warnings Eric Anholt <eric@anholt.net> - 2015-10-23 12:40 +0200

csiph-web