[PATCH 2/4] bitops: include linux/types.h

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 7 06:45:22 PST 2022


linux/types.h includes asm/types.h. linux/types.h declares 'bool' we
need in the next patch, so include the former rather than the latter.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/linux/bitops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index 645fd2e6f6..84161e43a3 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -2,7 +2,7 @@
 
 #ifndef _LINUX_BITOPS_H
 #define _LINUX_BITOPS_H
-#include <asm/types.h>
+#include <linux/types.h>
 
 #ifdef	__KERNEL__
 #define BIT(nr)			(1UL << (nr))
-- 
2.30.2




More information about the barebox mailing list