--- zzzz-none-000/linux-3.10.107/arch/sh/include/asm/io_trapped.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sh/include/asm/io_trapped.h 2021-02-04 17:41:59.000000000 +0000 @@ -36,7 +36,7 @@ #define __ioremap_trapped(offset, size) NULL #endif -#ifdef CONFIG_HAS_IOPORT +#ifdef CONFIG_HAS_IOPORT_MAP extern struct list_head trapped_io; static inline void __iomem *