layerscape: fix type for kernel 4.9 dpaa2_mac_get_stats() function
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 25 Jan 2018 08:52:38 +0000 (16:52 +0800)
committerJohn Crispin <john@phrozen.org>
Tue, 13 Feb 2018 09:01:51 +0000 (10:01 +0100)
commit7b93a18b10bfc8fa1a4e94e32ef6f26ff57361ba
tree636ba81043398d87c9bd0df4458d4b6fc369b6f8
parent94698fa6ab3551687d27f1537bc2083ed0073408
layerscape: fix type for kernel 4.9 dpaa2_mac_get_stats() function

This patch changes the declarations of ndo_get_stats64 handlers
to the previous struct rtnl_link_stats64 * return type instead of
the mainline void return.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
target/linux/layerscape/patches-4.9/705-dpaa2-support-layerscape.patch