Commit dbebd6b1 authored by Florian Fainelli's avatar Florian Fainelli Committed by Ralf Baechle

MIPS: TX49XX: use IS_ENABLED()

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3335/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b33b4407
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#define ioswabb(a, x) (x) #define ioswabb(a, x) (x)
#define __mem_ioswabb(a, x) (x) #define __mem_ioswabb(a, x) (x)
#if defined(CONFIG_TOSHIBA_RBTX4939) && \ #if defined(CONFIG_TOSHIBA_RBTX4939) && \
(defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)) && \ IS_ENABLED(CONFIG_SMC91X) && \
defined(__BIG_ENDIAN) defined(__BIG_ENDIAN)
#define NEEDS_TXX9_IOSWABW #define NEEDS_TXX9_IOSWABW
extern u16 (*ioswabw)(volatile u16 *a, u16 x); extern u16 (*ioswabw)(volatile u16 *a, u16 x);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment