[-mm patch] make sysrq_always_enabled_setup() static

From: Adrian Bunk
Date: Mon Dec 11 2006 - 13:40:57 EST


On Mon, Dec 11, 2006 at 12:58:07AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc6-mm2:
>...
> +debug-add-sysrq_always_enabled-boot-option.patch
>...
> Misc updates
>...

This patch makes the needlessly global sysrq_always_enabled_setup()
static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.19-mm1/drivers/char/sysrq.c.old 2006-12-11 17:46:54.000000000 +0100
+++ linux-2.6.19-mm1/drivers/char/sysrq.c 2006-12-11 17:47:01.000000000 +0100
@@ -59,7 +59,7 @@
(__sysrq_enabled & mask);
}

-int __init sysrq_always_enabled_setup(char *str)
+static int __init sysrq_always_enabled_setup(char *str)
{
sysrq_always_enabled = 1;
printk(KERN_INFO "debug: sysrq always enabled.\n");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/