From: David S. Miller Date: Wed, 16 Jun 2010 04:50:14 +0000 (-0700) Subject: gadget/rndis: dev_get_stats() now returns rtnl_link_stats64. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdb93f8ac39aa5902f3d264edd50dffcabfdd13b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git gadget/rndis: dev_get_stats() now returns rtnl_link_stats64. Based upon a report by Stephen Rothwell. Signed-off-by: David S. Miller --- 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, int i, count; rndis_query_cmplt_type *resp; struct net_device *net; - const struct net_device_stats *stats; + const struct rtnl_link_stats64 *stats; if (!r) return -ENOMEM; resp = (rndis_query_cmplt_type *) r->buf;