mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers: gpu: drm: Fix warning for incomplete Declarations in client.c
@ 2018-01-02  9:12 Vaibhav Kothari
  0 siblings, 0 replies; only message in thread
From: Vaibhav Kothari @ 2018-01-02  9:12 UTC (permalink / raw)
  To: airlied; +Cc: bskeggs, linux-kernel, dri-devel, Vaibhav Kothari

This patch fixes the Sparse Warning "symbol was
not declared. Should it be static?" in nvkm/core/client.c

Signed-off-by: Vaibhav Kothari <vaibhavddit@gmail.com>
---
 drivers/gpu/drm/nouveau/nvkm/core/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c b/drivers/gpu/drm/nouveau/nvkm/core/client.c
index ac67120..0c8c55c 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/client.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/client.c
@@ -60,7 +60,7 @@ nvkm_uclient_new(const struct nvkm_oclass *oclass, void *argv, u32 argc,
 	return 0;
 }
 
-const struct nvkm_sclass
+static const struct nvkm_sclass
 nvkm_uclient_sclass = {
 	.oclass = NVIF_CLASS_CLIENT,
 	.minver = 0,
-- 
2.7.4

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

only message in thread, other threads:[~2018-01-02  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-02  9:12 [PATCH] drivers: gpu: drm: Fix warning for incomplete Declarations in client.c Vaibhav Kothari

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®