summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2008-10-22 01:49:09 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-22 07:37:17 +0200
commit3786fc710c32b61464c322e5cd0c3d1d34ae72d0 (patch)
tree1525973d100e88edab390634508b4c0d9715d5b8 /kernel/irq
parentgenirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() (diff)
downloadlinux-3786fc710c32b61464c322e5cd0c3d1d34ae72d0.tar.xz
linux-3786fc710c32b61464c322e5cd0c3d1d34ae72d0.zip
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c
index fac014a81b24..4d161c70ba55 100644
--- a/kernel/irq/proc.c
+++ b/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
proc_create("irq/default_smp_affinity", 0600, NULL,