diff options
author | Dhruva Gole <d-gole@ti.com> | 2022-09-20 08:26:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-07 04:05:17 +0300 |
commit | 742f302cdc9198dc27deeea8c1c35482cf616ec2 (patch) | |
tree | a8a2bce006d6aac94feb6c74b0a3794f75f428c8 | |
parent | ae17910117f3ae5957eb1d7498710f881a091155 (diff) | |
download | u-boot-742f302cdc9198dc27deeea8c1c35482cf616ec2.tar.xz |
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 <d-gole@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
-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 86603d43f1..1a9197bfc8 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> |