summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-01-27 01:25:55 +0400
committerDavid S. Miller <davem@davemloft.net>2012-01-27 01:25:55 +0400
commitc85c21ad1fe18daf26bfe8684df974d88cec50b7 (patch)
treeac2ec1fd985a7eed0bd79235647f43125589dff6 /drivers
parent1e2927b08160a14fff98e88e7a331d916aaa1d56 (diff)
downloadlinux-c85c21ad1fe18daf26bfe8684df974d88cec50b7.tar.xz
e1000e: Need to include vmalloc.h
Otherwise (on sparc64): drivers/net/ethernet/intel/e1000e/ethtool.c:657:3: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration] Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/intel/e1000e/ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/ethtool.c b/drivers/net/ethernet/intel/e1000e/ethtool.c
index ffb6c14cbbb8..1ea317f1adcf 100644
--- a/drivers/net/ethernet/intel/e1000e/ethtool.c
+++ b/drivers/net/ethernet/intel/e1000e/ethtool.c
@@ -34,6 +34,7 @@
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/delay.h>
+#include <linux/vmalloc.h>
#include "e1000.h"