diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2016-08-15 07:51:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 16:37:50 -0400 |
commit | 2eb03e6c4e305b71bdd2d0ce4250b9c9099d9128 (patch) | |
tree | f0e99521af85e5d13a9cd2e87f69fdb468eef9f5 /net/switchdev | |
parent | a2956ecdc6a47374642ed7f1838ca978a82f5e93 (diff) |
switchdev: Put export declaration in the right place
Move exporting of switchdev_port_same_parent_id to be right
below it and not elsewhere.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
-rw-r--r-- | net/switchdev/switchdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c index a5fc9dd24aa9..9e9012956993 100644 --- a/net/switchdev/switchdev.c +++ b/net/switchdev/switchdev.c | |||
@@ -1306,6 +1306,7 @@ bool switchdev_port_same_parent_id(struct net_device *a, | |||
1306 | 1306 | ||
1307 | return netdev_phys_item_id_same(&a_attr.u.ppid, &b_attr.u.ppid); | 1307 | return netdev_phys_item_id_same(&a_attr.u.ppid, &b_attr.u.ppid); |
1308 | } | 1308 | } |
1309 | EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id); | ||
1309 | 1310 | ||
1310 | static u32 switchdev_port_fwd_mark_get(struct net_device *dev, | 1311 | static u32 switchdev_port_fwd_mark_get(struct net_device *dev, |
1311 | struct net_device *group_dev) | 1312 | struct net_device *group_dev) |
@@ -1323,7 +1324,6 @@ static u32 switchdev_port_fwd_mark_get(struct net_device *dev, | |||
1323 | 1324 | ||
1324 | return dev->ifindex; | 1325 | return dev->ifindex; |
1325 | } | 1326 | } |
1326 | EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id); | ||
1327 | 1327 | ||
1328 | static void switchdev_port_fwd_mark_reset(struct net_device *group_dev, | 1328 | static void switchdev_port_fwd_mark_reset(struct net_device *group_dev, |
1329 | u32 old_mark, u32 *reset_mark) | 1329 | u32 old_mark, u32 *reset_mark) |