From 71cf734496cecec27c33e9aac8ec65a390699e5c Mon Sep 17 00:00:00 2001 From: xbw Date: Fri, 12 Jul 2013 09:30:32 +0800 Subject: [PATCH] MT6620: eliminate the warning about mt6620-gps --- drivers/mtk_wcn_combo/gps/gps.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } /*****************************************************************************/ -- 2.34.1