diff options
| author | Matthias Schiffer <[email protected]> | 2024-04-26 10:02:27 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-15 10:46:47 -0600 |
| commit | e563593d6e3759519cb1b1493e67e032109c8cae (patch) | |
| tree | b16e0656753d3441524b1b71fe823fc9756d777d /drivers | |
| parent | b079bd9e294b64c86dd2b4520de027bc9042a8dc (diff) | |
dma: ti: k3-udma: add missing <net.h> include
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/dma/ti/k3-udma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 8e11d817a5b..e92ede570cf 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -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> |
