diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-01-29 08:13:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-29 09:43:34 +0300 |
commit | bbcbf2eede69c5f54a431fb96c11248a7910748c (patch) | |
tree | dc8688b855a65ce17b9896a685ec3391f0b144a8 /drivers/net/ethernet/freescale/enetc | |
parent | ec7146db150082737cbfeacaae0f33e42c95cf18 (diff) | |
download | linux-bbcbf2eede69c5f54a431fb96c11248a7910748c.tar.xz |
enetc: include linux/vmalloc.h for vzalloc etc
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc')
-rw-r--r-- | drivers/net/ethernet/freescale/enetc/enetc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c index 37b587c541ee..5bb9eb35d76d 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc.c +++ b/drivers/net/ethernet/freescale/enetc/enetc.c @@ -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) |