]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dma: ti: k3-udma: Fix 'SZ_64K’ undeclared error
authorDhruva Gole <d-gole@ti.com>
Tue, 20 Sep 2022 05:26:02 +0000 (10:56 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Oct 2022 01:05:17 +0000 (21:05 -0400)
Include linux/sizes.h because it defines SZ_64K which is used in many
places inside k3-udma.c
This fixes the error: ‘SZ_64K’ undeclared which appears during build
time

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/dma/ti/k3-udma.c

index 86603d43f14fc923e35d9501542bb420d067a8d3..1a9197bfc820d0d49138944e4432d581f09358d2 100644 (file)
@@ -14,6 +14,7 @@
 #include <malloc.h>
 #include <linux/bitops.h>
 #include <linux/dma-mapping.h>
+#include <linux/sizes.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>