diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 973b8b9..76e6d0d 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -420,4 +420,8 @@ #endif #endif /* CONFIG_64BIT */ +#ifndef IOMEM +#define IOMEM(addr) ((void __force __iomem *)(addr)) +#endif + #endif /* __ASM_GENERIC_IO_H */ diff --git a/include/common.h b/include/common.h index 0bf819a..ce16ff8 100644 --- a/include/common.h +++ b/include/common.h @@ -135,8 +135,4 @@ void barebox_set_hostname(const char *); void barebox_set_hostname_no_overwrite(const char *); -#ifndef IOMEM -#define IOMEM(addr) ((void __force __iomem *)(addr)) -#endif - #endif /* __COMMON_H_ */