aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/siena.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-18 01:27:31 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-21 06:09:43 -0400
commitd215697fe14a0c5a96765c6279b4751e632587a5 (patch)
tree2fd4639adc97e907853d08bfb4b6c3ee2a495694 /drivers/net/sfc/siena.c
parentd0280232813a6a5e2bfca6e9257b866352115c09 (diff)
sfc: make functions static
Make local functions and variable static. Do some rearrangement of the string table stuff to put it where it gets used. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/siena.c')
-rw-r--r--drivers/net/sfc/siena.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/siena.c b/drivers/net/sfc/siena.c
index 2115f95ddc88..45236f58a258 100644
--- a/drivers/net/sfc/siena.c
+++ b/drivers/net/sfc/siena.c
@@ -129,7 +129,7 @@ static int siena_probe_port(struct efx_nic *efx)
129 return 0; 129 return 0;
130} 130}
131 131
132void siena_remove_port(struct efx_nic *efx) 132static void siena_remove_port(struct efx_nic *efx)
133{ 133{
134 efx->phy_op->remove(efx); 134 efx->phy_op->remove(efx);
135 efx_nic_free_buffer(efx, &efx->stats_buffer); 135 efx_nic_free_buffer(efx, &efx->stats_buffer);