瀏覽代碼

MIPS: IP32: ip32_be_handler symbol is needlessly defined global

The file arch/mips/sgi-ip32/ip32-berr.c needlessly defines the function
ip32_be_handler() as global, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Dmitri Vorobiev 16 年之前
父節點
當前提交
36a09d7848
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/sgi-ip32/ip32-berr.c

+ 1 - 1
arch/mips/sgi-ip32/ip32-berr.c

@@ -16,7 +16,7 @@
 #include <asm/ptrace.h>
 #include <asm/tlbdebug.h>
 
-int ip32_be_handler(struct pt_regs *regs, int is_fixup)
+static int ip32_be_handler(struct pt_regs *regs, int is_fixup)
 {
 	int data = regs->cp0_cause & 4;