[2.6 patch] make drivers/net/forcedeth.c:nv_update_pause() static

From: Adrian Bunk
Date: Thu Jun 22 2006 - 06:03:16 EST


This patch makes the needlessly global nv_update_pause() static.

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

---

This patch was already sent on:
- 16 May 2006

--- linux-2.6.17-rc4-mm1-full/drivers/net/forcedeth.c.old 2006-05-16 13:03:01.000000000 +0200
+++ linux-2.6.17-rc4-mm1-full/drivers/net/forcedeth.c 2006-05-16 13:03:08.000000000 +0200
@@ -2221,7 +2221,7 @@
spin_unlock_irq(&np->lock);
}

-void nv_update_pause(struct net_device *dev, u32 pause_flags)
+static void nv_update_pause(struct net_device *dev, u32 pause_flags)
{
struct fe_priv *np = netdev_priv(dev);
u8 __iomem *base = get_hwbase(dev);

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