From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <ahmad@a3f.at>
Subject: [PATCH] ARM: rockchip: add missing header to <mach/rockchip.h>
Date: Tue, 21 Feb 2023 08:07:49 +0100 [thread overview]
Message-ID: <20230221070749.1130753-1-ahmad@a3f.at> (raw)
The header uses error codes, so include the appropriate header.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
arch/arm/mach-rockchip/include/mach/rockchip.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rockchip/include/mach/rockchip.h b/arch/arm/mach-rockchip/include/mach/rockchip.h
index ff8b1109f858..16a691ee8c0a 100644
--- a/arch/arm/mach-rockchip/include/mach/rockchip.h
+++ b/arch/arm/mach-rockchip/include/mach/rockchip.h
@@ -3,6 +3,8 @@
#ifndef __MACH_ROCKCHIP_H
#define __MACH_ROCKCHIP_H
+#include <errno.h>
+
#ifdef CONFIG_ARCH_RK3188
int rk3188_init(void);
#else
--
2.38.3
next reply other threads:[~2023-02-21 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 7:07 Ahmad Fatoum [this message]
2023-02-21 7:43 ` 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=20230221070749.1130753-1-ahmad@a3f.at \
--to=ahmad@a3f.at \
--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