summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorroel kluin <roel.kluin@gmail.com>2008-10-21 19:49:09 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-22 07:37:17 +0200
commit3786fc710c32b61464c322e5cd0c3d1d34ae72d0 (patch)
tree1525973d100e88edab390634508b4c0d9715d5b8 /kernel/irq
parentb6f3b7803a9231eddc36d0a2a6d2d8105ef89344 (diff)
downloadlwn-3786fc710c32b61464c322e5cd0c3d1d34ae72d0.tar.gz
lwn-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,