summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2015-01-02 20:22:08 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-02 22:47:36 +0100
commitd9f393734af52b7b09f02439164cc7182e17063c (patch)
tree824c043daa7001cba8b6fb94ecd0ab2c0485d39f
parentixgbe: convert to CYCLECOUNTER_MASK macro. (diff)
downloadlinux-d9f393734af52b7b09f02439164cc7182e17063c.tar.xz
linux-d9f393734af52b7b09f02439164cc7182e17063c.zip
mlx4: include clocksource.h again
This driver uses the function, clocksource_khz2mult, and so it really must include clocksource.h. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/en_clock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_clock.c b/drivers/net/ethernet/mellanox/mlx4/en_clock.c
index e9cce4f72b24..90b5309cdb5c 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_clock.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_clock.c
@@ -32,6 +32,7 @@
*/
#include <linux/mlx4/device.h>
+#include <linux/clocksource.h>
#include "mlx4_en.h"