aboutsummaryrefslogtreecommitdiff
path: root/include/memalign.h
diff options
context:
space:
mode:
authorTom Rini2023-12-14 13:16:57 -0500
committerTom Rini2023-12-21 08:54:37 -0500
commit1e8ce11a0b94bb2fcf55590eeffa9c85886b89bc (patch)
tree0954975ab2f6a15e3d7b6a5825904f309db3f51e /include/memalign.h
parent4abbed7e42b88a9e0dbda2dc36273e74a9374dde (diff)
include: Further cleanup includes
Add some missing headers such as <linux/errno.h> or <linux/types.h> or <linux/kernel.h> to header files that make direct usage of things provided by these headers. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/memalign.h')
-rw-r--r--include/memalign.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/memalign.h b/include/memalign.h
index f67f0a74f2e..eaa9f6b5cbd 100644
--- a/include/memalign.h
+++ b/include/memalign.h
@@ -11,6 +11,7 @@
* is used to align DMA buffers.
*/
#ifndef __ASSEMBLY__
+#include <linux/kernel.h>
#include <asm/cache.h>
#include <malloc.h>