소스 검색

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>
David S. Miller 15 년 전
부모
커밋
fdb93f8ac3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/usb/gadget/rndis.c

+ 1 - 1
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;
 	int			i, count;
 	rndis_query_cmplt_type	*resp;
 	rndis_query_cmplt_type	*resp;
 	struct net_device	*net;
 	struct net_device	*net;
-	const struct net_device_stats	*stats;
+	const struct rtnl_link_stats64 *stats;
 
 
 	if (!r) return -ENOMEM;
 	if (!r) return -ENOMEM;
 	resp = (rndis_query_cmplt_type *) r->buf;
 	resp = (rndis_query_cmplt_type *) r->buf;