Commit 3d2557f6 authored by Chris Snook's avatar Chris Snook Committed by Jeff Garzik

atl1: make atl1_init_ring_ptrs static

Sparse (correctly) thinks this function should be static.  Make it so.
Signed-off-by: default avatarChris Snook <csnook@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 8d22c971
...@@ -315,7 +315,7 @@ s32 atl1_setup_ring_resources(struct atl1_adapter *adapter) ...@@ -315,7 +315,7 @@ s32 atl1_setup_ring_resources(struct atl1_adapter *adapter)
return -ENOMEM; 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_tpd_ring *tpd_ring = &adapter->tpd_ring;
struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring; struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment