x86/amd_nb: Make hygon_nb_misc_ids static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 14 Jun 2019 15:54:41 +0000 (23:54 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 14 Jun 2019 18:25:58 +0000 (20:25 +0200)
commit025e32048f39e24d8ddf9369d679644ea2bdcce6
tree6e493a9654f0fee2b65ea943f89cd800cd310da6
parent83e837269e87436fda1cbf82214a5494fb6b35b1
x86/amd_nb: Make hygon_nb_misc_ids static

Fix the following sparse warning:

  arch/x86/kernel/amd_nb.c:74:28: warning:
    symbol 'hygon_nb_misc_ids' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Brian Woods <Brian.Woods@amd.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Pu Wen <puwen@hygon.cn>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190614155441.22076-1-yuehaibing@huawei.com
arch/x86/kernel/amd_nb.c