From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] dma: make header self-contained
Date: Tue, 22 Apr 2025 09:55:31 +0200 [thread overview]
Message-ID: <20250422075531.219284-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20250422075531.219284-1-a.fatoum@pengutronix.de>
From: Ahmad Fatoum <a.fatoum@barebox.org>
There are barebox-specific types used in the file, which are defined
outside. Fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@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
next prev parent reply other threads:[~2025-04-22 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 7:55 [PATCH 1/2] mfd: syscon: make mfd/syscon.h " Ahmad Fatoum
2025-04-22 7:55 ` Ahmad Fatoum [this message]
2025-04-22 9:23 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250422075531.219284-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox