summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-02 10:53:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-03 10:03:33 +0200
commit1361566266b12af9888c94057b2bbe2c368d31b7 (patch)
tree2300624f39a1126323c2cfa17038437a328ae00f /arch/sandbox
parent9190f7aa11c22e7105da9ee43b0d700600f92f20 (diff)
downloadbarebox-1361566266b12af9888c94057b2bbe2c368d31b7.tar.gz
barebox-1361566266b12af9888c94057b2bbe2c368d31b7.tar.xz
sandbox: <asm/io.h>: include bitio accessors
ARM <asm/io.h> defines the U-Boot style setbits/clrbits helpers. Have sandbox follow suit to allow more drivers to be compile tested there. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index cb891df5c8..0a07627a89 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -4,5 +4,6 @@
#define IO_SPACE_LIMIT 0
#include <asm-generic/io.h>
+#include <asm-generic/bitio.h>
#endif /* __ASM_SANDBOX_IO_H */