summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-08-12 14:19:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-08-23 16:09:26 +0200
commit79f8074d9217fb3316b8f9426b361a70537e4094 (patch)
tree1af10fd2ecb43d4656c618d4890fd9d8aaec13db /arch/sandbox
parent1ebfb6e6c6312138ce128d7b51fbe2092b37d907 (diff)
downloadbarebox-79f8074d9217fb3316b8f9426b361a70537e4094.tar.gz
barebox-79f8074d9217fb3316b8f9426b361a70537e4094.tar.xz
asm-generic: include bitio.h from io.h
This is currently used on ARM and sandbox, but it's relevant for other platforms like x86 as well if driver code wants to make use of the functions defined within. MIPS and PowerPC already defines the symbols, but that's ok because <bitio.h> doesn't override existing macros. This works for MIPS, but not PowerPC, where those aren't macros. Fix that up. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210812121944.4419-3-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, 0 insertions, 1 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 9f9cd3a42a..3e5c0580bc 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -8,7 +8,6 @@
extern unsigned char __pci_iobase[IO_SPACE_LIMIT];
#include <asm-generic/io.h>
-#include <asm-generic/bitio.h>
static inline void *phys_to_virt(unsigned long phys)
{