diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2017-09-03 08:30:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-04 07:27:18 +0300 |
commit | b665f4f82d31c17926df3ac7c4a59bbff7af463b (patch) | |
tree | f3534e48a07edd0c020d245ab38a426e2b83ca21 /drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | |
parent | b752eff5be24ec146393944848d2ffbef92b43a7 (diff) | |
download | linux-b665f4f82d31c17926df3ac7c4a59bbff7af463b.tar.xz |
net: qualcomm: rmnet: Rename real_dev_info to port
Make it similar to drivers like ipvlan / macvlan so it is easier to read.
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.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h index 3212b25ad2bc..dde4e9f14f4a 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h +++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h @@ -32,7 +32,7 @@ struct rmnet_endpoint { /* One instance of this structure is instantiated for each real_dev associated * with rmnet. */ -struct rmnet_real_dev_info { +struct rmnet_port { struct net_device *dev; struct rmnet_endpoint local_ep; struct rmnet_endpoint muxed_ep[RMNET_MAX_LOGICAL_EP]; @@ -50,7 +50,6 @@ struct rmnet_priv { struct net_device *real_dev; }; -struct rmnet_real_dev_info* -rmnet_get_real_dev_info(struct net_device *real_dev); +struct rmnet_port *rmnet_get_port(struct net_device *real_dev); #endif /* _RMNET_CONFIG_H_ */ |