drm/nouveau/core/client: Mark nvkm_uclient_sclass with static keyword
authorZou Wei <zou_wei@huawei.com>
Tue, 23 Mar 2021 07:48:57 +0000 (07:48 +0000)
committerKarol Herbst <kherbst@redhat.com>
Fri, 12 Nov 2021 22:46:04 +0000 (23:46 +0100)
commit5e18b9737004ef6f34862f6fb39d3c9027a4044a
tree45ee490563c63d04d0029258027a03714f3f0fd6
parent4cdd2450bf739bada353e82d27b00db9af8c3001
drm/nouveau/core/client: Mark nvkm_uclient_sclass with static keyword

Fix the following sparse warning:

drivers/gpu/drm/nouveau/nvkm/core/client.c:64:1: warning: symbol 'nvkm_uclient_sclass' was not declared. Should it be static?

Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://gitlab.freedesktop.org/drm/nouveau/-/merge_requests/10
drivers/gpu/drm/nouveau/nvkm/core/client.c