]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
e1000e: Need to include vmalloc.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2012 21:25:55 +0000 (16:25 -0500)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:06:01 +0000 (15:06 +0800)
Otherwise (on sparc64):

drivers/net/e1000e/ethtool.c:657:3: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]

(cherry picked from commit c85c21ad1fe18daf26bfe8684df974d88cec50b7)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/ethtool.c

index 87545cc91721ae79724b02cb317bde264bfd0300..2acfabd9c34cd3369b0e3a8331d4c84c1fdcb0ec 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"