diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-18 01:27:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 06:09:43 -0400 |
commit | d215697fe14a0c5a96765c6279b4751e632587a5 (patch) | |
tree | 2fd4639adc97e907853d08bfb4b6c3ee2a495694 /drivers/net/sfc/mcdi_phy.c | |
parent | d0280232813a6a5e2bfca6e9257b866352115c09 (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/mcdi_phy.c')
-rw-r--r-- | drivers/net/sfc/mcdi_phy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/mcdi_phy.c b/drivers/net/sfc/mcdi_phy.c index 0121e71702bf..c992742446b1 100644 --- a/drivers/net/sfc/mcdi_phy.c +++ b/drivers/net/sfc/mcdi_phy.c | |||
@@ -713,7 +713,8 @@ static int efx_mcdi_phy_run_tests(struct efx_nic *efx, int *results, | |||
713 | return 0; | 713 | return 0; |
714 | } | 714 | } |
715 | 715 | ||
716 | const char *efx_mcdi_phy_test_name(struct efx_nic *efx, unsigned int index) | 716 | static const char *efx_mcdi_phy_test_name(struct efx_nic *efx, |
717 | unsigned int index) | ||
717 | { | 718 | { |
718 | struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; | 719 | struct efx_mcdi_phy_data *phy_cfg = efx->phy_data; |
719 | 720 | ||