This patch makes the needlessly global mthca_update_rate() static.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

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

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to