[PATCH 4/5] include: asm-generic: bitio.h don't include <asm-generic/io.h> directly

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Sep 29 06:58:22 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>
---
 include/asm-generic/bitio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-generic/bitio.h b/include/asm-generic/bitio.h
index e88dbd7b8527..99b85da59c6d 100644
--- a/include/asm-generic/bitio.h
+++ b/include/asm-generic/bitio.h
@@ -3,7 +3,7 @@
 #ifndef __ASM_GENERIC_BITIO_H
 #define __ASM_GENERIC_BITIO_H
 
-#include <asm-generic/io.h>
+#include <asm/io.h>
 
 /*
  * Clear and set bits in one shot. These macros can be used to clear and
-- 
2.28.0




More information about the barebox mailing list