summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2017-09-03 08:30:45 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-04 07:27:18 +0300
commitb752eff5be24ec146393944848d2ffbef92b43a7 (patch)
tree470493e8104efd5e58eb232f593a3ee259a6e274 /drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
parent032ee46828e7a2531c77bf80052fa1237820ec9c (diff)
downloadlinux-b752eff5be24ec146393944848d2ffbef92b43a7.tar.xz
net: qualcomm: rmnet: Implement ndo_get_iflink
This makes it easier to find out the parent dev. Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Cc: Dan Williams <dcbw@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h')
-rw-r--r--drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
index 40b6b32216b6..3212b25ad2bc 100644
--- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
+++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
@@ -47,6 +47,7 @@ extern struct rtnl_link_ops rmnet_link_ops;
struct rmnet_priv {
struct rmnet_endpoint local_ep;
u8 mux_id;
+ struct net_device *real_dev;
};
struct rmnet_real_dev_info*