ChangeSet 1.2181.4.7, 2005/03/17 17:09:47-08:00, [EMAIL PROTECTED]

        [PATCH] drivers/usb/net/pegasus.c: make some code static
        
        This patch makes some needlessly global code static.
        
        Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



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


diff -Nru a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c
--- a/drivers/usb/net/pegasus.c 2005-03-30 15:05:34 -08:00
+++ b/drivers/usb/net/pegasus.c 2005-03-30 15:05:34 -08:00
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to