rfkill-rk: setup rts gpio with IOMUX_FMUX
author黄涛 <huangtao@rock-chips.com>
Wed, 16 Jan 2013 06:40:13 +0000 (14:40 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 16 Jan 2013 06:51:52 +0000 (14:51 +0800)
net/rfkill/rfkill-rk.c

index 835345d705420f3fa6fd6f763e0c6f07e43c6a0b..ccfb6a88f882d71a3a57a5116d97c2240b289d9a 100755 (executable)
@@ -460,11 +460,7 @@ static int rfkill_rk_probe(struct platform_device *pdev)
     ret = rfkill_rk_setup_wake_irq(rfkill);
     if (ret) goto fail_wake;
 
-#ifdef CONFIG_ARCH_RK2928
     ret = rfkill_rk_setup_gpio(&pdata->rts_gpio, IOMUX_FMUX, rfkill->pdata->name, "rts"); 
-#else
-    ret = rfkill_rk_setup_gpio(&(pdata->rts_gpio), IOMUX_FNORMAL, rfkill->pdata->name, "rts");
-#endif
     if (ret) goto fail_wake_host_irq;
 
     // ´´½¨²¢×¢²áRFKILLÉ豸