Skip to content

Commit

Permalink
switchdev: Put export declaration in the right place
Browse files Browse the repository at this point in the history
Move exporting of switchdev_port_same_parent_id to be right
below it and not elsewhere.

Signed-off-by: Or Gerlitz <[email protected]>
Reported-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ogerlitz authored and davem330 committed Aug 15, 2016
1 parent a2956ec commit 2eb03e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/switchdev/switchdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id);

static u32 switchdev_port_fwd_mark_get(struct net_device *dev,
struct net_device *group_dev)
Expand All @@ -1323,7 +1324,6 @@ static u32 switchdev_port_fwd_mark_get(struct net_device *dev,

return dev->ifindex;
}
EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id);

static void switchdev_port_fwd_mark_reset(struct net_device *group_dev,
u32 old_mark, u32 *reset_mark)
Expand Down

0 comments on commit 2eb03e6

Please sign in to comment.