[PATCH 2/2] dma: make header self-contained
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Apr 22 00:55:31 PDT 2025
From: Ahmad Fatoum <a.fatoum at barebox.org>
There are barebox-specific types used in the file, which are defined
outside. Fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
include/dma-devices.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dma-devices.h b/include/dma-devices.h
index dbc6759496e5..bbb25770f86b 100644
--- a/include/dma-devices.h
+++ b/include/dma-devices.h
@@ -2,6 +2,8 @@
#ifndef __DMA_DEVICES_H
#define __DMA_DEVICES_H
+#include <linux/types.h>
+
/**
* enum dma_transfer_direction - dma transfer mode and direction indicator
* @DMA_MEM_TO_MEM: Async/Memcpy mode
--
2.39.5
More information about the barebox
mailing list