OSDN Git Service

irq: make variable static
authorroel kluin <roel.kluin@gmail.com>
Tue, 21 Oct 2008 23:49:09 +0000 (19:49 -0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 05:37:17 +0000 (07:37 +0200)
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>
kernel/irq/proc.c

index fac014a..4d161c7 100644 (file)
@@ -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
        proc_create("irq/default_smp_affinity", 0600, NULL,