summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-10-01 17:00:49 +1000
committerDavid S. Miller <davem@davemloft.net>2014-10-01 13:41:26 -0400
commiteb51bbaf8dedf142a54a7ff58514a29b40d515bb (patch)
tree5f2993fa463a650fa7aa9a89c2aef481bac5d16e
parentf0a0c1cedfe421b32d2aa39971c43f83f8e5fa42 (diff)
downloadop-kernel-dev-eb51bbaf8dedf142a54a7ff58514a29b40d515bb.zip
op-kernel-dev-eb51bbaf8dedf142a54a7ff58514a29b40d515bb.tar.gz
fm10k: using vmalloc requires including linux/vmalloc.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
index a9bbe60..2d04464 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
@@ -18,6 +18,8 @@
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
*/
+#include <linux/vmalloc.h>
+
#include "fm10k.h"
struct fm10k_stats {
OpenPOWER on IntegriCloud