diff mbox series

[4/5] dma: ti: k3-udma: add missing <net.h> include

Message ID c39dbe0a099b13b8b691d60b64053958fd6e915e.1714117337.git.matthias.schiffer@ew.tq-group.com
State Accepted
Commit e563593d6e3759519cb1b1493e67e032109c8cae
Delegated to: Tom Rini
Headers show
Series [1/5] net: eth-uclass: guard against reentrant eth_init()/eth_halt() calls | expand

Commit Message

Matthias Schiffer April 26, 2024, 8:02 a.m. UTC
net.h is needed for PKTBUFSRX. Without this definition, the driver will
always use 4 RX buffers, causing am65-cpsw-nuss initialization to fail
when a higher number of buffers is requested.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
---
 drivers/dma/ti/k3-udma.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index ef3074aa13f..4e6f7f570c5 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -12,6 +12,7 @@ 
 #include <asm/io.h>
 #include <asm/bitops.h>
 #include <malloc.h>
+#include <net.h>
 #include <linux/bitops.h>
 #include <linux/dma-mapping.h>
 #include <linux/sizes.h>