aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/rndis.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-06-16 00:50:14 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-16 00:50:14 -0400
commitfdb93f8ac39aa5902f3d264edd50dffcabfdd13b (patch)
tree32762ffd0120b638767162e8c948167e257a1fbc /drivers/usb/gadget/rndis.c
parent5f2f89209500623ccb4713ec4af7de86fd30a9e4 (diff)
gadget/rndis: dev_get_stats() now returns rtnl_link_stats64.
Based upon a report by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/gadget/rndis.c')
-rw-r--r--drivers/usb/gadget/rndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c
index 5c0d06c79a81..fb69b01c8f3a 100644
--- a/drivers/usb/gadget/rndis.c
+++ b/drivers/usb/gadget/rndis.c
@@ -171,7 +171,7 @@ gen_ndis_query_resp (int configNr, u32 OID, u8 *buf, unsigned buf_len,
171 int i, count; 171 int i, count;
172 rndis_query_cmplt_type *resp; 172 rndis_query_cmplt_type *resp;
173 struct net_device *net; 173 struct net_device *net;
174 const struct net_device_stats *stats; 174 const struct rtnl_link_stats64 *stats;
175 175
176 if (!r) return -ENOMEM; 176 if (!r) return -ENOMEM;
177 resp = (rndis_query_cmplt_type *) r->buf; 177 resp = (rndis_query_cmplt_type *) r->buf;