diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-06-22 00:27:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 06:56:18 -0700 |
commit | 3e3a78b49508e58f798cf519876bbb9ca0f931af (patch) | |
tree | 3a3ad7b5414fcbae12140975ba27f820b5c4643f /net/bridge/br_vlan.c | |
parent | e8e85cc5eb5701b935a06b5b3a03a8532946f969 (diff) | |
download | linux-stable-3e3a78b49508e58f798cf519876bbb9ca0f931af.tar.gz linux-stable-3e3a78b49508e58f798cf519876bbb9ca0f931af.tar.bz2 linux-stable-3e3a78b49508e58f798cf519876bbb9ca0f931af.zip |
switchdev: rename vlan vid_start to vid_begin
Use vid_begin/end to be consistent with BRIDGE_VLAN_INFO_RANGE_BEGIN/END.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_vlan.c')
-rw-r--r-- | net/bridge/br_vlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_vlan.c b/net/bridge/br_vlan.c index 17fc358a5432..574feea6a8cc 100644 --- a/net/bridge/br_vlan.c +++ b/net/bridge/br_vlan.c @@ -54,7 +54,7 @@ static int __vlan_vid_add(struct net_device *dev, struct net_bridge *br, .id = SWITCHDEV_OBJ_PORT_VLAN, .u.vlan = { .flags = flags, - .vid_start = vid, + .vid_begin = vid, .vid_end = vid, }, }; @@ -132,7 +132,7 @@ static void __vlan_vid_del(struct net_device *dev, struct net_bridge *br, struct switchdev_obj vlan_obj = { .id = SWITCHDEV_OBJ_PORT_VLAN, .u.vlan = { - .vid_start = vid, + .vid_begin = vid, .vid_end = vid, }, }; |