e1000e: Need to include vmalloc.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2012 21:25:55 +0000 (16:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2012 21:25:55 +0000 (16:25 -0500)
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>
drivers/net/ethernet/intel/e1000e/ethtool.c

index ffb6c14..1ea317f 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/vmalloc.h>
 
 #include "e1000.h"