From: xbw Date: Fri, 12 Jul 2013 01:30:32 +0000 (+0800) Subject: MT6620: eliminate the warning about mt6620-gps X-Git-Tag: firefly_0821_release~6902 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=71cf734496cecec27c33e9aac8ec65a390699e5c;p=firefly-linux-kernel-4.4.55.git MT6620: eliminate the warning about mt6620-gps --- diff --git a/drivers/mtk_wcn_combo/gps/gps.c b/drivers/mtk_wcn_combo/gps/gps.c index c487076a99f5..e3d9c96df3c2 100755 --- a/drivers/mtk_wcn_combo/gps/gps.c +++ b/drivers/mtk_wcn_combo/gps/gps.c @@ -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; } /*****************************************************************************/