aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-10-29 04:34:02 -0400
committerDavid S. Miller <davem@davemloft.net>2012-11-01 12:38:31 -0400
commitb77bc2069d1e437d5a1a71bb5cfcf4556ee40015 (patch)
treee162aac0cb2cf9f262a1788ced0fb0038432caa9 /drivers/net/ppp
parent6605b730c061f67c44113391e5af5125d0672e99 (diff)
ppp: make ppp_get_stats64 static
This was picked up by sparse. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r--drivers/net/ppp/ppp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index eb3f5cefeba3..0b2706abe3e3 100644
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -1034,7 +1034,7 @@ ppp_net_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
1034 return err; 1034 return err;
1035} 1035}
1036 1036
1037struct rtnl_link_stats64* 1037static struct rtnl_link_stats64*
1038ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64) 1038ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64)
1039{ 1039{
1040 struct ppp *ppp = netdev_priv(dev); 1040 struct ppp *ppp = netdev_priv(dev);