aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-11-04 11:44:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-11-07 14:04:40 +1000
commitf3a8b6645dc2e60d11f20c1c23afd964ff4e55ae (patch)
tree0bdab87caeffb10a8a5701f89fa125223f31fa58 /drivers/gpu/drm/nouveau/nvif
parentdrm/nouveau/tegra: Fix error handling (diff)
downloadlinux-dev-f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae.tar.xz
linux-dev-f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae.zip
drm/nouveau: silence sparse warnings about symbols not being marked static
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvif')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c
index 1ee9294eca2e..29c20dfd894d 100644
--- a/drivers/gpu/drm/nouveau/nvif/client.c
+++ b/drivers/gpu/drm/nouveau/nvif/client.c
@@ -55,7 +55,7 @@ nvif_client_fini(struct nvif_client *client)
}
}
-const struct nvif_driver *
+static const struct nvif_driver *
nvif_drivers[] = {
#ifdef __KERNEL__
&nvif_driver_nvkm,