diff options
author | Yanteng Si <siyanteng@loongson.cn> | 2021-01-07 11:06:45 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-07 17:12:51 +0100 |
commit | 3b31bb6bb5495f4f38e4d106f95df8be12463f48 (patch) | |
tree | e2847358348d71b22137e3341d629683ec0789a8 /arch/mips/pistachio | |
parent | fdd85e04df3fdd55bb7f32786890fdfb200c40f0 (diff) |
MIPS: init: move externs to header file
This commit fixes the following checkpatch warnings:
WARNING: externs should be avoided in .c files
This is a warning for placing declarations in a ".c" file.
This fix removes the declaration in ".c" and adds it to
the common header file.
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pistachio')
-rw-r--r-- | arch/mips/pistachio/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/pistachio/init.c b/arch/mips/pistachio/init.c index ddc0e84c13f5..8e83262e9da8 100644 --- a/arch/mips/pistachio/init.c +++ b/arch/mips/pistachio/init.c @@ -83,7 +83,6 @@ phys_addr_t mips_cdmm_phys_base(void) static void __init mips_nmi_setup(void) { void *base; - extern char except_vec_nmi[]; base = cpu_has_veic ? (void *)(CAC_BASE + 0xa80) : |