]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dma: ti: k3-udma: add missing <net.h> include
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Fri, 26 Apr 2024 08:02:27 +0000 (10:02 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 15 May 2024 16:46:47 +0000 (10:46 -0600)
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

index 8e11d817a5b4419ea24657744a65c648a5ea932a..e92ede570cf3f91ea8a142ccb00a260a9b57e764 100644 (file)
@@ -11,6 +11,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>