* [PATCH] ARM: at91: include linux/types.h in aic.h
@ 2026-09-21 15:35 Ahmad Fatoum
2026-09-23 6:12 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-09-21 15:35 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
The header uses u32 in the at91_aic_redir() prototype, but does not
include a header providing the type, so any C file including it
without pulling in linux/types.h first fails to compile:
include/mach/at91/aic.h:7:40: error: unknown type name 'u32'
Fix it and make the header self-contained.
Fixes: 53d48be1757d ("ARM: at91: add necessary Advanced Interrupt Controller configuration")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
include/mach/at91/aic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/mach/at91/aic.h b/include/mach/at91/aic.h
index c1f026b60c62..1c84316611ed 100644
--- a/include/mach/at91/aic.h
+++ b/include/mach/at91/aic.h
@@ -3,6 +3,7 @@
#define __AT91_AIC_H_
#include <linux/compiler.h>
+#include <linux/types.h>
void at91_aic_redir(void __iomem *sfr, u32 key);
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-23 6:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 15:35 [PATCH] ARM: at91: include linux/types.h in aic.h Ahmad Fatoum
2026-09-23 6:12 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox