mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
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>
This commit is contained in:
parent
a2956ecdc6
commit
2eb03e6c4e
1 changed files with 1 additions and 1 deletions
|
@ -1306,6 +1306,7 @@ bool switchdev_port_same_parent_id(struct net_device *a,
|
||||||
|
|
||||||
return netdev_phys_item_id_same(&a_attr.u.ppid, &b_attr.u.ppid);
|
return netdev_phys_item_id_same(&a_attr.u.ppid, &b_attr.u.ppid);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id);
|
||||||
|
|
||||||
static u32 switchdev_port_fwd_mark_get(struct net_device *dev,
|
static u32 switchdev_port_fwd_mark_get(struct net_device *dev,
|
||||||
struct net_device *group_dev)
|
struct net_device *group_dev)
|
||||||
|
@ -1323,7 +1324,6 @@ static u32 switchdev_port_fwd_mark_get(struct net_device *dev,
|
||||||
|
|
||||||
return dev->ifindex;
|
return dev->ifindex;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id);
|
|
||||||
|
|
||||||
static void switchdev_port_fwd_mark_reset(struct net_device *group_dev,
|
static void switchdev_port_fwd_mark_reset(struct net_device *group_dev,
|
||||||
u32 old_mark, u32 *reset_mark)
|
u32 old_mark, u32 *reset_mark)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue