MIPS: TXX9: use IS_ENABLED() macro
[pandora-kernel.git] / arch / mips / txx9 / generic / setup_tx4939.c
index 6567895..5ff7a95 100644 (file)
@@ -317,7 +317,7 @@ void __init tx4939_sio_init(unsigned int sclk, unsigned int cts_mask)
        }
 }
 
-#if defined(CONFIG_TC35815) || defined(CONFIG_TC35815_MODULE)
+#if IS_ENABLED(CONFIG_TC35815)
 static u32 tx4939_get_eth_speed(struct net_device *dev)
 {
        struct ethtool_cmd cmd;