aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/enic_main.c')
-rw-r--r--drivers/net/enic/enic_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 711077a2e345..a1f92f193976 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -1972,7 +1972,7 @@ static int enic_dev_hang_notify(struct enic *enic)
1972 return err; 1972 return err;
1973} 1973}
1974 1974
1975int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic) 1975static int enic_dev_set_ig_vlan_rewrite_mode(struct enic *enic)
1976{ 1976{
1977 int err; 1977 int err;
1978 1978
@@ -2147,14 +2147,14 @@ static const struct net_device_ops enic_netdev_ops = {
2147#endif 2147#endif
2148}; 2148};
2149 2149
2150void enic_dev_deinit(struct enic *enic) 2150static void enic_dev_deinit(struct enic *enic)
2151{ 2151{
2152 netif_napi_del(&enic->napi); 2152 netif_napi_del(&enic->napi);
2153 enic_free_vnic_resources(enic); 2153 enic_free_vnic_resources(enic);
2154 enic_clear_intr_mode(enic); 2154 enic_clear_intr_mode(enic);
2155} 2155}
2156 2156
2157int enic_dev_init(struct enic *enic) 2157static int enic_dev_init(struct enic *enic)
2158{ 2158{
2159 struct device *dev = enic_get_dev(enic); 2159 struct device *dev = enic_get_dev(enic);
2160 struct net_device *netdev = enic->netdev; 2160 struct net_device *netdev = enic->netdev;