summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorChris Snook <csnook@redhat.com>2007-07-23 16:38:39 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-24 16:28:42 -0400
commit3d2557f681162ff6a483ae689072f9811e6a6d8d (patch)
tree1704b3b0babbb44f74307b89f575577d10781b06 /drivers/net
parent8d22c9711aa5e704fc5f89027f5cf64838767c98 (diff)
downloadlinux-3d2557f681162ff6a483ae689072f9811e6a6d8d.tar.bz2
atl1: make atl1_init_ring_ptrs static
Sparse (correctly) thinks this function should be static. Make it so. Signed-off-by: Chris Snook <csnook@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/atl1/atl1_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c
index 993ed2a2d282..56f6389a300e 100644
--- a/drivers/net/atl1/atl1_main.c
+++ b/drivers/net/atl1/atl1_main.c
@@ -315,7 +315,7 @@ err_nomem:
return -ENOMEM;
}
-void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
+static void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
{
struct atl1_tpd_ring *tpd_ring = &adapter->tpd_ring;
struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring;