From fc7a2963442d32b7848cf1c8990ba55bdbdc84bc Mon Sep 17 00:00:00 2001 From: CMY Date: Sat, 31 Mar 2012 14:13:39 +0800 Subject: [PATCH] 3g: change power's gpio define --- drivers/misc/rk29_modem/modem_rockchip_demo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/misc/rk29_modem/modem_rockchip_demo.c b/drivers/misc/rk29_modem/modem_rockchip_demo.c index 7a3fff84eee4..47e65cfda890 100644 --- a/drivers/misc/rk29_modem/modem_rockchip_demo.c +++ b/drivers/misc/rk29_modem/modem_rockchip_demo.c @@ -25,7 +25,7 @@ #include "rk29_modem.h" static struct rk29_io_t demo_io_power = { - .io_addr = RK29_PIN6_PB1, + .io_addr = RK30_PIN4_PD1, //RK29_PIN6_PB1, .enable = GPIO_HIGH, .disable = GPIO_LOW, }; @@ -56,6 +56,8 @@ static int __init demo_init(void) { printk("%s[%d]: %s\n", __FILE__, __LINE__, __FUNCTION__); + rk29_mux_api_set(GPIO4D1_SMCDATA9_TRACEDATA9_NAME, GPIO4D_GPIO4D1); + return rk29_modem_init(&demo_driver); } -- 2.34.1