mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/nouveau/kms/nv50-: make base917c_format static
@ 2019-10-08 11:07 Ben Dooks
  2019-10-08 11:07 ` [PATCH 2/3] drm/nouveau/kms/nv50-: make unexported items static Ben Dooks
  2019-10-08 11:07 ` [PATCH 3/3] drm/nouveau/kms/nv50-: include n50_display.h for nv50_display_create Ben Dooks
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Dooks @ 2019-10-08 11:07 UTC (permalink / raw)
  To: linux-kernel, nouveau, dri-devel
  Cc: Ben Skeggs, David Airlie, Daniel Vetter, Ben Dooks

The base917c_format isn't exported, so make it static to
avoid the following warning:

drivers/gpu/drm/nouveau/dispnv50/base917c.c:26:1: warning: symbol 'base917c_format' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 drivers/gpu/drm/nouveau/dispnv50/base917c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/dispnv50/base917c.c b/drivers/gpu/drm/nouveau/dispnv50/base917c.c
index a1baed4fe0e9..ca260509a4f1 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/base917c.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/base917c.c
@@ -22,7 +22,7 @@
 #include "base.h"
 #include "atom.h"
 
-const u32
+static const u32
 base917c_format[] = {
 	DRM_FORMAT_C8,
 	DRM_FORMAT_XRGB8888,
-- 
2.23.0


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

end of thread, other threads:[~2019-10-08 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 11:07 [PATCH 1/3] drm/nouveau/kms/nv50-: make base917c_format static Ben Dooks
2019-10-08 11:07 ` [PATCH 2/3] drm/nouveau/kms/nv50-: make unexported items static Ben Dooks
2019-10-08 11:07 ` [PATCH 3/3] drm/nouveau/kms/nv50-: include n50_display.h for nv50_display_create Ben Dooks

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®