From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h

Change-Id: I1c481de5e7447aab94370a877bbe0ee87d0d6a34
---
 drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h
@@ -177,6 +177,6 @@ int mlx5_esw_devlink_rate_parent_set(str
 
 #endif /* HAVE_DEVLINK_HAS_RATE_FUNCTIONS */
 
-#endif
+#endif /* CONFIG_MLX5_ESWITCH */
 
 #endif
