diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 00:06:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 00:06:28 -0800 |
commit | 409b204435b85f7e159230c216f334a862cb3b95 (patch) | |
tree | 6bdd6050666dddcf06f3029601b97df7ede47ac4 /drivers | |
parent | 2f22d22ea7e95d45353b790ac52975a42e3a8558 (diff) | |
download | op-kernel-dev-409b204435b85f7e159230c216f334a862cb3b95.zip op-kernel-dev-409b204435b85f7e159230c216f334a862cb3b95.tar.gz |
drivers/net/skfp: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/skfp/skfddi.c:620:13: warning: symbol 'skfp_interrupt' was not declared. Should it be static?
drivers/net/skfp/skfddi.c:687:25: warning: symbol 'skfp_ctl_get_stats' was not declared. Should it be static?
drivers/net/skfp/skfddi.c:1232:6: warning: symbol 'CheckSourceAddress' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/skfp/skfddi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 7fbd4f8..607efea 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c @@ -617,7 +617,7 @@ static int skfp_close(struct net_device *dev) * Interrupts are disabled, then reenabled at the adapter. */ -irqreturn_t skfp_interrupt(int irq, void *dev_id) +static irqreturn_t skfp_interrupt(int irq, void *dev_id) { struct net_device *dev = dev_id; struct s_smc *smc; /* private board structure pointer */ @@ -684,7 +684,7 @@ irqreturn_t skfp_interrupt(int irq, void *dev_id) * independent. * */ -struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev) +static struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev) { struct s_smc *bp = netdev_priv(dev); @@ -1229,7 +1229,7 @@ static void send_queued_packets(struct s_smc *smc) * Verify if the source address is set. Insert it if necessary. * ************************/ -void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr) +static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr) { unsigned char SRBit; |