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 <[email protected]>
---
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