[-mm patch] make drivers/char/ipmi/ipmi_msghandler.c:ipmi_find_bmc_guid() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.16-mm1-full/drivers/char/ipmi/ipmi_msghandler.c.old	2006-03-23 23:10:10.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/char/ipmi/ipmi_msghandler.c	2006-03-23 23:10:30.000000000 +0100
@@ -1754,8 +1754,8 @@
 	return memcmp(bmc->guid, id, 16) == 0;
 }
 
-struct bmc_device * ipmi_find_bmc_guid(struct device_driver *drv,
-				       unsigned char *guid)
+static struct bmc_device *ipmi_find_bmc_guid(struct device_driver *drv,
+					     unsigned char *guid)
 {
 	struct device *dev;
 

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux