Netdev List
 help / color / mirror / Atom feed
* [PATCH] netdevice: Correct function pointer name in comment
@ 2009-08-10 11:28 Tobias Klauser
  0 siblings, 0 replies; only message in thread
From: Tobias Klauser @ 2009-08-10 11:28 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Tobias Klauser

The function pointer in struct net_device_ops is called ndo_get_stats.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 include/linux/netdevice.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index d4a4d98..277f1c2 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -557,7 +557,7 @@ struct netdev_queue {
  *	Callback uses when the transmitter has not made any progress
  *	for dev->watchdog ticks.
  *
- * struct net_device_stats* (*get_stats)(struct net_device *dev);
+ * struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
  *	Called when a user wants to get the network device usage
  *	statistics. If not defined, the counters in dev->stats will
  *	be used.
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-10 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 11:28 [PATCH] netdevice: Correct function pointer name in comment Tobias Klauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox