[PATCH 3/5] at91: wdt: don't include <asm-generic/io.h> directly
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Sep 29 06:58:21 EDT 2020
<asm-generic/io.h> is not meant for direct inclusion. It provides
defaults for each arch's <asm/io.h> to fall back to.
Use <asm/io.h> instead.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/arm/mach-at91/include/mach/at91_wdt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h b/arch/arm/mach-at91/include/mach/at91_wdt.h
index d295d35d1b5c..04924742a533 100644
--- a/arch/arm/mach-at91/include/mach/at91_wdt.h
+++ b/arch/arm/mach-at91/include/mach/at91_wdt.h
@@ -41,7 +41,7 @@
* Copyright (c) 2006, Atmel Corporation
*/
-#include <asm-generic/io.h>
+#include <asm/io.h>
static inline void at91_wdt_disable(void __iomem *wdt_base)
{
--
2.28.0
More information about the barebox
mailing list