aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/skfddi.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 03:06:28 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 03:06:28 -0500
commit409b204435b85f7e159230c216f334a862cb3b95 (patch)
tree6bdd6050666dddcf06f3029601b97df7ede47ac4 /drivers/net/skfp/skfddi.c
parent2f22d22ea7e95d45353b790ac52975a42e3a8558 (diff)
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/net/skfp/skfddi.c')
-rw-r--r--drivers/net/skfp/skfddi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c
index 7fbd4f84f272..607efeaf0bc5 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)
617 * Interrupts are disabled, then reenabled at the adapter. 617 * Interrupts are disabled, then reenabled at the adapter.
618 */ 618 */
619 619
620irqreturn_t skfp_interrupt(int irq, void *dev_id) 620static irqreturn_t skfp_interrupt(int irq, void *dev_id)
621{ 621{
622 struct net_device *dev = dev_id; 622 struct net_device *dev = dev_id;
623 struct s_smc *smc; /* private board structure pointer */ 623 struct s_smc *smc; /* private board structure pointer */
@@ -684,7 +684,7 @@ irqreturn_t skfp_interrupt(int irq, void *dev_id)
684 * independent. 684 * independent.
685 * 685 *
686 */ 686 */
687struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev) 687static struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev)
688{ 688{
689 struct s_smc *bp = netdev_priv(dev); 689 struct s_smc *bp = netdev_priv(dev);
690 690
@@ -1229,7 +1229,7 @@ static void send_queued_packets(struct s_smc *smc)
1229 * Verify if the source address is set. Insert it if necessary. 1229 * Verify if the source address is set. Insert it if necessary.
1230 * 1230 *
1231 ************************/ 1231 ************************/
1232void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr) 1232static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr)
1233{ 1233{
1234 unsigned char SRBit; 1234 unsigned char SRBit;
1235 1235