Commit b8aa5291 authored by ruanjinjie's avatar ruanjinjie Committed by Karol Herbst

drm/nouveau/disp: make gv100_disp_core_mthd_base static

The symbol is not used outside of the file, so mark it static.

Fixes the following warning:

./drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c:591:1: warning:
symbol 'gv100_disp_core_mthd_base' was not declared. Should it be static?
Signed-off-by: default avatarruanjinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Signed-off-by: default avatarKarol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220924073957.4140388-1-ruanjinjie@huawei.com
parent ac9aa21b
...@@ -606,7 +606,7 @@ gv100_disp_curs = { ...@@ -606,7 +606,7 @@ gv100_disp_curs = {
.user = 73, .user = 73,
}; };
const struct nvkm_disp_mthd_list static const struct nvkm_disp_mthd_list
gv100_disp_core_mthd_base = { gv100_disp_core_mthd_base = {
.mthd = 0x0000, .mthd = 0x0000,
.addr = 0x000000, .addr = 0x000000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment