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/efx.h | |
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/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index f502b14eb22c..10a1bf40da96 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -88,10 +88,6 @@ extern int efx_reconfigure_port(struct efx_nic *efx); | |||
88 | extern int __efx_reconfigure_port(struct efx_nic *efx); | 88 | extern int __efx_reconfigure_port(struct efx_nic *efx); |
89 | 89 | ||
90 | /* Ethtool support */ | 90 | /* Ethtool support */ |
91 | extern int efx_ethtool_get_settings(struct net_device *net_dev, | ||
92 | struct ethtool_cmd *ecmd); | ||
93 | extern int efx_ethtool_set_settings(struct net_device *net_dev, | ||
94 | struct ethtool_cmd *ecmd); | ||
95 | extern const struct ethtool_ops efx_ethtool_ops; | 91 | extern const struct ethtool_ops efx_ethtool_ops; |
96 | 92 | ||
97 | /* Reset handling */ | 93 | /* Reset handling */ |
@@ -107,9 +103,7 @@ extern void efx_init_irq_moderation(struct efx_nic *efx, int tx_usecs, | |||
107 | /* Dummy PHY ops for PHY drivers */ | 103 | /* Dummy PHY ops for PHY drivers */ |
108 | extern int efx_port_dummy_op_int(struct efx_nic *efx); | 104 | extern int efx_port_dummy_op_int(struct efx_nic *efx); |
109 | extern void efx_port_dummy_op_void(struct efx_nic *efx); | 105 | extern void efx_port_dummy_op_void(struct efx_nic *efx); |
110 | extern void | 106 | |
111 | efx_port_dummy_op_set_id_led(struct efx_nic *efx, enum efx_led_mode mode); | ||
112 | extern bool efx_port_dummy_op_poll(struct efx_nic *efx); | ||
113 | 107 | ||
114 | /* MTD */ | 108 | /* MTD */ |
115 | #ifdef CONFIG_SFC_MTD | 109 | #ifdef CONFIG_SFC_MTD |
@@ -122,8 +116,6 @@ static inline void efx_mtd_rename(struct efx_nic *efx) {} | |||
122 | static inline void efx_mtd_remove(struct efx_nic *efx) {} | 116 | static inline void efx_mtd_remove(struct efx_nic *efx) {} |
123 | #endif | 117 | #endif |
124 | 118 | ||
125 | extern unsigned int efx_monitor_interval; | ||
126 | |||
127 | static inline void efx_schedule_channel(struct efx_channel *channel) | 119 | static inline void efx_schedule_channel(struct efx_channel *channel) |
128 | { | 120 | { |
129 | netif_vdbg(channel->efx, intr, channel->efx->net_dev, | 121 | netif_vdbg(channel->efx, intr, channel->efx->net_dev, |