linux-mips
[Top] [All Lists]

[PATCH 4/6] MIPS: TX49XX: use IS_ENABLED()

To: ralf@linux-mips.org
Subject: [PATCH 4/6] MIPS: TX49XX: use IS_ENABLED()
From: Florian Fainelli <florian@openwrt.org>
Date: Tue, 31 Jan 2012 18:19:06 +0100
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
In-reply-to: <1328030348-21967-1-git-send-email-florian@openwrt.org>
References: <1328030348-21967-1-git-send-email-florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 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 5e6912f..490867b 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 @@
 #define ioswabb(a, x)          (x)
 #define __mem_ioswabb(a, x)    (x)
 #if defined(CONFIG_TOSHIBA_RBTX4939) && \
-       (defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)) && \
+       IS_ENABLED(CONFIG_SMC91X) && \
        defined(__BIG_ENDIAN)
 #define NEEDS_TXX9_IOSWABW
 extern u16 (*ioswabw)(volatile u16 *a, u16 x);
-- 
1.7.5.4


<Prev in Thread] Current Thread [Next in Thread>