public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/infiniband/hw/mthca/mthca_mad.c: make a function static
@ 2006-04-18 22:15 Adrian Bunk
  2006-04-18 22:18 ` Roland Dreier
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-04-18 22:15 UTC (permalink / raw)
  To: rolandd, mshefty, halr; +Cc: openib-general, linux-kernel

This patch makes the needlessly global mthca_update_rate() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.17-rc1-mm3-full/drivers/infiniband/hw/mthca/mthca_mad.c.old	2006-04-18 21:38:06.000000000 +0200
+++ linux-2.6.17-rc1-mm3-full/drivers/infiniband/hw/mthca/mthca_mad.c	2006-04-18 21:38:14.000000000 +0200
@@ -49,7 +49,7 @@
 	MTHCA_VENDOR_CLASS2 = 0xa
 };
 
-int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
+static int mthca_update_rate(struct mthca_dev *dev, u8 port_num)
 {
 	struct ib_port_attr *tprops = NULL;
 	int                  ret;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-18 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 22:15 [2.6 patch] drivers/infiniband/hw/mthca/mthca_mad.c: make a function static Adrian Bunk
2006-04-18 22:18 ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox