]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/core/net-sysfs.c
switchdev: rename SWITCHDEV_ATTR_* enum values to SWITCHDEV_ATTR_ID_*
[karo-tx-linux.git] / net / core / net-sysfs.c
index 410c6e42bf1f5c07d7a673162eeea5061ebcdf9e..f88a62ab019d25097efc67ee8e5239c9b39e8ca3 100644 (file)
@@ -471,7 +471,7 @@ static ssize_t phys_switch_id_show(struct device *dev,
 
        if (dev_isalive(netdev)) {
                struct switchdev_attr attr = {
-                       .id = SWITCHDEV_ATTR_PORT_PARENT_ID,
+                       .id = SWITCHDEV_ATTR_ID_PORT_PARENT_ID,
                        .flags = SWITCHDEV_F_NO_RECURSE,
                };