diff options
author | Moshe Shemesh | 2018-07-29 12:29:45 +0200 |
---|---|---|
committer | Saeed Mahameed | 2018-08-13 21:50:17 +0200 |
commit | 6dbc80ca41f5a76e0d2ae4e96b2476d68a2ea17f (patch) | |
tree | 21fdc608cbe20d3cec4c79df6c267d33cf4bc41b /drivers/net/ethernet/mellanox/mlx5/core/eq.c | |
parent | net/mlx5e: vxlan.c depends on CONFIG_VXLAN (diff) | |
download | kernel-qcow2-linux-6dbc80ca41f5a76e0d2ae4e96b2476d68a2ea17f.tar.gz kernel-qcow2-linux-6dbc80ca41f5a76e0d2ae4e96b2476d68a2ea17f.tar.xz kernel-qcow2-linux-6dbc80ca41f5a76e0d2ae4e96b2476d68a2ea17f.zip |
net/mlx5e: clock.c depends on CONFIG_PTP_1588_CLOCK
lib/clock.c includes clock related functions which require ptp support.
Thus compile out lib/clock.c and add the needed function stubs in case
kconfig CONFIG_PTP_1588_CLOCK is off.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eq.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/eq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eq.c b/drivers/net/ethernet/mellanox/mlx5/core/eq.c index 7669b4380779..48864f4988a4 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eq.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eq.c @@ -40,6 +40,7 @@ #include "mlx5_core.h" #include "fpga/core.h" #include "eswitch.h" +#include "lib/clock.h" #include "diag/fw_tracer.h" enum { |