]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] pcnet32: add static to two routines.
authorDon Fry <brazilnut@us.ibm.com>
Thu, 27 May 2004 09:03:08 +0000 (05:03 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 27 May 2004 09:03:08 +0000 (05:03 -0400)
This patch adds 'static' to two routines.  The prototype has static but
the instantiation did not.

drivers/net/pcnet32.c

index 6011809ac1749cb071fe9296a7fbd3ff37eea293..d5183384897084a45324b025e4b4aa6b32b6d83a 100644 (file)
@@ -844,12 +844,12 @@ static int pcnet32_phys_id(struct net_device *dev, u32 data)
     return 0;
 }
 
-int pcnet32_get_regs_len(struct net_device *dev)
+static int pcnet32_get_regs_len(struct net_device *dev)
 {
     return(PCNET32_NUM_REGS * sizeof(u16));
 }
 
-void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
+static void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
        void *ptr)
 {
     int i, csr0;