enetc: include linux/vmalloc.h for vzalloc etc
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Jan 2019 05:13:08 +0000 (16:13 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 06:43:34 +0000 (22:43 -0800)
Fixes: d4fd0404c1c9 ("enetc: Introduce basic PF and VF ENETC ethernet drivers")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c

index 37b587c541eeb2b9b658abb969bc708a2f3fcfdf..5bb9eb35d76d1b697d65634b755d1a1239415d31 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/tcp.h>
 #include <linux/udp.h>
 #include <linux/of_mdio.h>
+#include <linux/vmalloc.h>
 
 /* ENETC overhead: optional extension BD + 1 BD gap */
 #define ENETC_TXBDS_NEEDED(val)        ((val) + 2)