aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1/atl1_main.c
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/atl1/atl1_main.c
parent8d22c9711aa5e704fc5f89027f5cf64838767c98 (diff)
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/atl1/atl1_main.c')
-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:
315 return -ENOMEM; 315 return -ENOMEM;
316} 316}
317 317
318void atl1_init_ring_ptrs(struct atl1_adapter *adapter) 318static void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
319{ 319{
320 struct atl1_tpd_ring *tpd_ring = &adapter->tpd_ring; 320 struct atl1_tpd_ring *tpd_ring = &adapter->tpd_ring;
321 struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring; 321 struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring;