]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/core/rtnetlink.c
switchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_*
[karo-tx-linux.git] / net / core / rtnetlink.c
index 474a6da3b51ab59e8a5d1218be5a1bd0373d8bcf..b2258a36d8944564f795ed4a394cbff96020f939 100644 (file)
@@ -1025,7 +1025,7 @@ static int rtnl_phys_switch_id_fill(struct sk_buff *skb, struct net_device *dev)
 {
        int err;
        struct switchdev_attr attr = {
-               .id = SWITCHDEV_ATTR_PORT_PARENT_ID,
+               .id = SWITCHDEV_ATTR_ID_PORT_PARENT_ID,
                .flags = SWITCHDEV_F_NO_RECURSE,
        };