MT6620: eliminate the warning about mt6620-gps
authorxbw <xbw@rock-chips.com>
Fri, 12 Jul 2013 01:30:32 +0000 (09:30 +0800)
committerxbw <xbw@rock-chips.com>
Fri, 12 Jul 2013 01:30:32 +0000 (09:30 +0800)
drivers/mtk_wcn_combo/gps/gps.c

index c487076a99f524699a012e7139dd577d5af3b5d6..e3d9c96df3c2dc4dcdab9b832323dfe6d73f6633 100755 (executable)
@@ -1113,11 +1113,14 @@ static int __init mt3326_gps_mod_init(void)
     if (ret != 0){
         GPS_ERR("platform_driver_register error\n");      
     }
+
+#if 0 //eliminate the warning about mt6620-gps.
     ret = platform_device_register(&mt3326_device_gps);
 
     if (ret != 0){
         GPS_ERR("platform_device_register error\n");        
-    } 
+    }
+#endif 
     return ret;
 }
 /*****************************************************************************/