summaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2015-10-01 11:03:43 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-03 13:49:38 +0200
commit8f24f3095dcedaa4eb4719eee2bed738fe2ce4a0 (patch)
treea1bbf65f238f8cb6e74097178aad9972e9d63eec /include/net/switchdev.h
parentswitchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_* (diff)
downloadlinux-8f24f3095dcedaa4eb4719eee2bed738fe2ce4a0.tar.xz
linux-8f24f3095dcedaa4eb4719eee2bed738fe2ce4a0.zip
switchdev: rename switchdev_obj_vlan to switchdev_obj_port_vlan
Make the struct name in sync with object id name. Suggested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Scott Feldman <sfeldma@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r--include/net/switchdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 612719b9618a..0138f9b374e2 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -65,7 +65,7 @@ enum switchdev_obj_id {
};
/* SWITCHDEV_OBJ_ID_PORT_VLAN */
-struct switchdev_obj_vlan {
+struct switchdev_obj_port_vlan {
u16 flags;
u16 vid_begin;
u16 vid_end;