diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-12-13 15:57:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-14 02:39:30 -0500 |
commit | de93cb2eaffd6d3e44bc738babfac35769d79720 (patch) | |
tree | fb5e2c6607848bc01d674f6086e48050555e337c /net/8021q | |
parent | f9586f79bf6125ae28fab9f585094c56e8740e83 (diff) |
vlan: static functions
commit 6d4cdf47d2 (vlan: add 802.1q netpoll support) forgot to declare
as static some private functions.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan_dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 039013923a74..9988d4abb372 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c | |||
@@ -664,12 +664,12 @@ static struct rtnl_link_stats64 *vlan_dev_get_stats64(struct net_device *dev, st | |||
664 | } | 664 | } |
665 | 665 | ||
666 | #ifdef CONFIG_NET_POLL_CONTROLLER | 666 | #ifdef CONFIG_NET_POLL_CONTROLLER |
667 | void vlan_dev_poll_controller(struct net_device *dev) | 667 | static void vlan_dev_poll_controller(struct net_device *dev) |
668 | { | 668 | { |
669 | return; | 669 | return; |
670 | } | 670 | } |
671 | 671 | ||
672 | int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) | 672 | static int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) |
673 | { | 673 | { |
674 | struct vlan_dev_priv *info = vlan_dev_priv(dev); | 674 | struct vlan_dev_priv *info = vlan_dev_priv(dev); |
675 | struct net_device *real_dev = info->real_dev; | 675 | struct net_device *real_dev = info->real_dev; |
@@ -696,7 +696,7 @@ out: | |||
696 | return err; | 696 | return err; |
697 | } | 697 | } |
698 | 698 | ||
699 | void vlan_dev_netpoll_cleanup(struct net_device *dev) | 699 | static void vlan_dev_netpoll_cleanup(struct net_device *dev) |
700 | { | 700 | { |
701 | struct vlan_dev_priv *info = vlan_dev_priv(dev); | 701 | struct vlan_dev_priv *info = vlan_dev_priv(dev); |
702 | struct netpoll *netpoll = info->netpoll; | 702 | struct netpoll *netpoll = info->netpoll; |