diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-31 12:19:06 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-23 08:55:54 -0400 |
commit | dbebd6b1c50f564c1eaac890ee1bebfbde5d9318 (patch) | |
tree | 990dc014040f55bee21c5b66a85a76914bce81b3 /arch/mips/include/asm/mach-tx49xx | |
parent | b33b44073734842ec0c75d376c40d0471d6113ff (diff) |
MIPS: TX49XX: use IS_ENABLED()
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3335/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-tx49xx')
-rw-r--r-- | arch/mips/include/asm/mach-tx49xx/mangle-port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-tx49xx/mangle-port.h b/arch/mips/include/asm/mach-tx49xx/mangle-port.h index 5e6912fdd0ed..490867b03c8f 100644 --- a/arch/mips/include/asm/mach-tx49xx/mangle-port.h +++ b/arch/mips/include/asm/mach-tx49xx/mangle-port.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #define ioswabb(a, x) (x) | 9 | #define ioswabb(a, x) (x) |
10 | #define __mem_ioswabb(a, x) (x) | 10 | #define __mem_ioswabb(a, x) (x) |
11 | #if defined(CONFIG_TOSHIBA_RBTX4939) && \ | 11 | #if defined(CONFIG_TOSHIBA_RBTX4939) && \ |
12 | (defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)) && \ | 12 | IS_ENABLED(CONFIG_SMC91X) && \ |
13 | defined(__BIG_ENDIAN) | 13 | defined(__BIG_ENDIAN) |
14 | #define NEEDS_TXX9_IOSWABW | 14 | #define NEEDS_TXX9_IOSWABW |
15 | extern u16 (*ioswabw)(volatile u16 *a, u16 x); | 15 | extern u16 (*ioswabw)(volatile u16 *a, u16 x); |