[-mm patch] drivers/char/ipmi/ipmi_si_intf.c: make a struct static

From: Adrian Bunk
Date: Thu Mar 23 2006 - 18:59:35 EST


On Thu, Mar 23, 2006 at 01:40:46AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc6-mm2:
>...
> +ipmi-add-generic-pci-handling.patch
>...
> Random stuff.
>...

This patch makes a needlessly global struct static.

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

--- linux-2.6.16-mm1-full/drivers/char/ipmi/ipmi_si_intf.c.old 2006-03-23 23:10:58.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/char/ipmi/ipmi_si_intf.c 2006-03-23 23:11:10.000000000 +0100
@@ -2167,7 +2167,7 @@
del_timer_sync(&smi_info->si_timer);
}

-struct ipmi_default_vals
+static struct ipmi_default_vals
{
int type;
int port;

-
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/