projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df3429
)
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
patch
|
blob
|
history
diff --git
a/net/rfkill/rfkill-rk.c
b/net/rfkill/rfkill-rk.c
index 835345d705420f3fa6fd6f763e0c6f07e43c6a0b..ccfb6a88f882d71a3a57a5116d97c2240b289d9a 100755
(executable)
--- a/
net/rfkill/rfkill-rk.c
+++ b/
net/rfkill/rfkill-rk.c
@@
-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É豸