mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/ast: make the symbol 'ast_primary_plane_helper_atomic_update' static
@ 2019-12-16 10:20 zhong jiang
  0 siblings, 0 replies; only message in thread
From: zhong jiang @ 2019-12-16 10:20 UTC (permalink / raw)
  To: airlied, airlied, daniel; +Cc: linux-kernel, zhongjiang

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?

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
---
 drivers/gpu/drm/ast/ast_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index cde1cae..44b598d 100644
--- a/drivers/gpu/drm/ast/ast_mode.c
+++ b/drivers/gpu/drm/ast/ast_mode.c
@@ -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;
-- 
1.7.12.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-16 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 10:20 [PATCH] drm/ast: make the symbol 'ast_primary_plane_helper_atomic_update' static zhong jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®