drm/armada: make armada_overlay_duplicate_state static
Subsystems (2)
PATCH 1/1 drm/armada: make armada_overlay_duplicate_state static
The armada_overlay_duplicate_state is not declared outside the unit, so make it static to avoid the following sparse warning:
drivers/gpu/drm/armada/armada_overlay.c:328:24: warning: symbol 'armada_overlay_duplicate_state' was not declared. Should it be static?
Signed-off-by Ben Dooks <[email protected]>
---
Cc: Russell King <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
--- drivers/gpu/drm/armada/armada_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/armada/armada_overlay.c +1 -1
@@ -325,7 +325,7 @@ static void armada_overlay_reset(struct drm_plane *plane) } } -struct drm_plane_state * +static struct drm_plane_state *armada_overlay_duplicate_state (struct drm_plane *plane) {struct armada_overlay_state *state;
Signature · 6 lines
2.23.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel