aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h
diff options
context:
space:
mode:
authorAviad Yehezkel <aviadye@mellanox.com>2018-02-22 17:40:52 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-06 22:06:08 -0800
commit46f3ee4f3a6e84c32e554c80d6533b465de7ff99 (patch)
treed549a359880ec8d98b4830ff0df8fc291446473d /drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h
parentIB/mlx5: Removed not used parameters (diff)
downloadlinux-dev-46f3ee4f3a6e84c32e554c80d6533b465de7ff99.tar.xz
linux-dev-46f3ee4f3a6e84c32e554c80d6533b465de7ff99.zip
net/mlx5: Fixed compilation issue when CONFIG_MLX5_ACCEL is disabled
IPSec init and cleanup functions also depends on linux/mlx5/driver.h. Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h b/drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h
index d6e20fea9554..67cda8871f5a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h
@@ -34,10 +34,10 @@
#ifndef __MLX5_ACCEL_IPSEC_H__
#define __MLX5_ACCEL_IPSEC_H__
-#ifdef CONFIG_MLX5_ACCEL
-
#include <linux/mlx5/driver.h>
+#ifdef CONFIG_MLX5_ACCEL
+
enum {
MLX5_ACCEL_IPSEC_DEVICE = BIT(1),
MLX5_ACCEL_IPSEC_IPV6 = BIT(2),