3g: change power's gpio define
authorCMY <cmy@rock-chips.com>
Sat, 31 Mar 2012 06:13:39 +0000 (14:13 +0800)
committerCMY <cmy@rock-chips.com>
Sat, 31 Mar 2012 06:13:39 +0000 (14:13 +0800)
drivers/misc/rk29_modem/modem_rockchip_demo.c

index 7a3fff84eee43595be76001ca4b5837d1802e25a..47e65cfda89043b4a1bafa692d55f83f0cf9e976 100644 (file)
@@ -25,7 +25,7 @@
 #include "rk29_modem.h"\r
 \r
 static struct rk29_io_t demo_io_power = {\r
-    .io_addr    = RK29_PIN6_PB1,\r
+    .io_addr    = RK30_PIN4_PD1, //RK29_PIN6_PB1, \r
     .enable     = GPIO_HIGH,\r
     .disable    = GPIO_LOW,\r
 };\r
@@ -56,6 +56,8 @@ static int __init demo_init(void)
 {\r
     printk("%s[%d]: %s\n", __FILE__, __LINE__, __FUNCTION__);\r
 \r
+    rk29_mux_api_set(GPIO4D1_SMCDATA9_TRACEDATA9_NAME, GPIO4D_GPIO4D1);\r
+    \r
     return rk29_modem_init(&demo_driver);\r
 }\r
 \r