Skip to content

Commit

Permalink
atl1: make atl1_init_ring_ptrs static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Snook authored and Jeff Garzik committed Jul 24, 2007
1 parent 8d22c97 commit 3d2557f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/atl1/atl1_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ s32 atl1_setup_ring_resources(struct atl1_adapter *adapter)
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;
Expand Down

0 comments on commit 3d2557f

Please sign in to comment.