浏览代码

irq: make variable static

This variable is only used in the source file, so make it static.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
roel kluin 16 年之前
父节点
当前提交
3786fc710c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/irq/proc.c

+ 1 - 1
kernel/irq/proc.c

@@ -220,7 +220,7 @@ void unregister_handler_proc(unsigned int irq, struct irqaction *action)
 	}
 	}
 }
 }
 
 
-void register_default_affinity_proc(void)
+static void register_default_affinity_proc(void)
 {
 {
 #ifdef CONFIG_SMP
 #ifdef CONFIG_SMP
 	proc_create("irq/default_smp_affinity", 0600, NULL,
 	proc_create("irq/default_smp_affinity", 0600, NULL,