Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbcbf2ee authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

enetc: include linux/vmalloc.h for vzalloc etc



Fixes: d4fd0404 ("enetc: Introduce basic PF and VF ENETC ethernet drivers")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ec7146db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)