summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorroel kluin2008-10-22 01:49:09 +0200
committerIngo Molnar2008-10-22 07:37:17 +0200
commit3786fc710c32b61464c322e5cd0c3d1d34ae72d0 (patch)
tree1525973d100e88edab390634508b4c0d9715d5b8 /kernel
parentgenirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup() (diff)
downloadkernel-qcow2-linux-3786fc710c32b61464c322e5cd0c3d1d34ae72d0.tar.gz
kernel-qcow2-linux-3786fc710c32b61464c322e5cd0c3d1d34ae72d0.tar.xz
kernel-qcow2-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')
-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,