All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] drm/kmb: Make layer_irqs static
@ 2023-08-04  8:50 GUO Zihua
  2023-08-06 23:28   ` kernel test robot
  2023-08-06 23:28   ` kernel test robot
  0 siblings, 2 replies; 5+ messages in thread
From: GUO Zihua @ 2023-08-04  8:50 UTC (permalink / raw)
  To: anitha.chrisanthus, edmund.j.dea, airlied, daniel; +Cc: dri-devel

layer_irqs is not referred elsewhere, so makt it static.

This resolves the following sparse warning:
  warning: symbol 'layer_irqs' was not declared. Should it be static?

Signed-off-by: GUO Zihua <guozihua@huawei.com>
---
 drivers/gpu/drm/kmb/kmb_plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_plane.c
index 9e0562aa2bcb..ed80233ad418 100644
--- a/drivers/gpu/drm/kmb/kmb_plane.c
+++ b/drivers/gpu/drm/kmb/kmb_plane.c
@@ -17,7 +17,7 @@
 #include "kmb_plane.h"
 #include "kmb_regs.h"
 
-const u32 layer_irqs[] = {
+static const u32 layer_irqs[] = {
 	LCD_INT_VL0,
 	LCD_INT_VL1,
 	LCD_INT_GL0,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-06 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04  8:50 [PATCH -next] drm/kmb: Make layer_irqs static GUO Zihua
2023-08-06 23:28 ` kernel test robot
2023-08-06 23:28   ` kernel test robot
2023-08-06 23:28 ` kernel test robot
2023-08-06 23:28   ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.