summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-11-07 15:45:22 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-11-08 11:05:44 +0100
commit5c43e199cbfd08180a02706d284d6c5834e97594 (patch)
treea0236d5ed401743cba5cafadb854ab45eed64233 /include
parentd87cb6746b2f6ae2409be78e83b10935d31405b0 (diff)
downloadbarebox-5c43e199cbfd08180a02706d284d6c5834e97594.tar.gz
barebox-5c43e199cbfd08180a02706d284d6c5834e97594.tar.xz
bitops: include linux/types.h
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@pengutronix.de> Link: https://lore.barebox.org/20221107144524.489471-3-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/bitops.h2
1 files changed, 1 insertions, 1 deletions
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))