diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-11-28 08:34:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-02 23:01:19 -0500 |
commit | 02637fce3e0103ba086b9c33b6d529e69460e4b6 (patch) | |
tree | 695bc5b5f7dfaf3e7d0a9a422c85f984f37bafbd /net/core/dev.c | |
parent | f6f6424ba773da6221ecaaa70973eb4dacfa03b2 (diff) |
net: rename netdev_phys_port_id to more generic name
So this can be reused for identification of other "items" as well.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Reviewed-by: Thomas Graf <tgraf@suug.ch>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index ac4836241a96..0814a560e5f3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -5846,7 +5846,7 @@ EXPORT_SYMBOL(dev_change_carrier); | |||
5846 | * Get device physical port ID | 5846 | * Get device physical port ID |
5847 | */ | 5847 | */ |
5848 | int dev_get_phys_port_id(struct net_device *dev, | 5848 | int dev_get_phys_port_id(struct net_device *dev, |
5849 | struct netdev_phys_port_id *ppid) | 5849 | struct netdev_phys_item_id *ppid) |
5850 | { | 5850 | { |
5851 | const struct net_device_ops *ops = dev->netdev_ops; | 5851 | const struct net_device_ops *ops = dev->netdev_ops; |
5852 | 5852 | ||