Skip to contentSkip to conversation

drm/ast: make the symbol 'ast_primary_plane_helper_atomic_update' static

PATCH New zhong jiang 1 participant 1 message Dec 16, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/ast: make the symbol 'ast_primary_plane_helper_atomic_update' static

Fix the following sparse warning.

drivers/gpu/drm/ast/ast_mode.c:563:6: warning: symbol 'ast_primary_plane_helper_atomic_update' was not declared. Should it be static?

---
 drivers/gpu/drm/ast/ast_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ast/ast_mode.c +1 -1
index cde1cae..44b598d 100644
@@ -560,7 +560,7 @@ static int ast_primary_plane_helper_atomic_check(struct drm_plane *plane,
 	return 0;
 }
 
-void ast_primary_plane_helper_atomic_update(struct drm_plane *plane,
+static void ast_primary_plane_helper_atomic_update(struct drm_plane *plane,
 					    struct drm_plane_state *old_state)
 {
 	struct ast_private *ast = plane->dev->dev_private;
Signature · 1 line
1.7.12.4