Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91276ae2 authored by kbuild test robot's avatar kbuild test robot Committed by Eric Anholt
Browse files

drm/vc4: vc4_plane_duplicate_state() can be static

parent 8005c49d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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,7 +97,7 @@ 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,
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;