summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhruva Gole <[email protected]>2022-09-20 10:56:02 +0530
committerTom Rini <[email protected]>2022-10-06 21:05:17 -0400
commit742f302cdc9198dc27deeea8c1c35482cf616ec2 (patch)
treea8a2bce006d6aac94feb6c74b0a3794f75f428c8
parentae17910117f3ae5957eb1d7498710f881a091155 (diff)
dma: ti: k3-udma: Fix 'SZ_64K’ undeclared error
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
-rw-r--r--drivers/dma/ti/k3-udma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index 86603d43f14..1a9197bfc82 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -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>