]> err.no Git - linux-2.6/commitdiff
atl1: make atl1_init_ring_ptrs static
authorChris Snook <csnook@redhat.com>
Mon, 23 Jul 2007 20:38:39 +0000 (16:38 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 24 Jul 2007 20:28:42 +0000 (16:28 -0400)
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>
drivers/net/atl1/atl1_main.c

index 993ed2a2d282f3b0b74f13815553d902d7397f97..56f6389a300eb3c18a50b7b636cb9965118b49cb 100644 (file)
@@ -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;