aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/mcdi.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/mcdi.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/mcdi.c')
-rw-r--r--drivers/net/sfc/mcdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/mcdi.c b/drivers/net/sfc/mcdi.c
index 3912b8fed912..12cf910c2ce7 100644
--- a/drivers/net/sfc/mcdi.c
+++ b/drivers/net/sfc/mcdi.c
@@ -1093,8 +1093,8 @@ int efx_mcdi_reset_mc(struct efx_nic *efx)
1093 return rc; 1093 return rc;
1094} 1094}
1095 1095
1096int efx_mcdi_wol_filter_set(struct efx_nic *efx, u32 type, 1096static int efx_mcdi_wol_filter_set(struct efx_nic *efx, u32 type,
1097 const u8 *mac, int *id_out) 1097 const u8 *mac, int *id_out)
1098{ 1098{
1099 u8 inbuf[MC_CMD_WOL_FILTER_SET_IN_LEN]; 1099 u8 inbuf[MC_CMD_WOL_FILTER_SET_IN_LEN];
1100 u8 outbuf[MC_CMD_WOL_FILTER_SET_OUT_LEN]; 1100 u8 outbuf[MC_CMD_WOL_FILTER_SET_OUT_LEN];