public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/usb/net/pegasus.c: make some code static
@ 2005-03-01  0:35 Adrian Bunk
  2005-03-01  9:18 ` Petko Manolov
  2005-03-18  1:17 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-03-01  0:35 UTC (permalink / raw)
  To: petkan; +Cc: linux-usb-devel, linux-kernel

This patch makes some needlessly global code static.

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

---

 drivers/usb/net/pegasus.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

--- linux-2.6.11-rc4-mm1-full/drivers/usb/net/pegasus.c.old	2005-02-28 23:26:58.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/drivers/usb/net/pegasus.c	2005-02-28 23:27:45.000000000 +0100
@@ -956,7 +956,8 @@
 	return 0;
 }
 
-void pegasus_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
+static void pegasus_get_drvinfo(struct net_device *dev,
+				struct ethtool_drvinfo *info)
 {
 	pegasus_t *pegasus = netdev_priv(dev);
 	strncpy(info->driver, driver_name, sizeof (info->driver) - 1);
@@ -1156,10 +1157,10 @@
 }
 
 
-struct workqueue_struct *pegasus_workqueue = NULL;
+static struct workqueue_struct *pegasus_workqueue = NULL;
 #define CARRIER_CHECK_DELAY (2 * HZ)
 
-void check_carrier(void *data)
+static void check_carrier(void *data)
 {
 	pegasus_t *pegasus = data;
 	set_carrier(pegasus->net);


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

end of thread, other threads:[~2005-03-18  1:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-01  0:35 [2.6 patch] drivers/usb/net/pegasus.c: make some code static Adrian Bunk
2005-03-01  9:18 ` Petko Manolov
2005-03-18  1:17 ` Greg KH

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