projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d2746
)
MT6620: eliminate the warning about mt6620-gps
author
xbw
<xbw@rock-chips.com>
Fri, 12 Jul 2013 01:30:32 +0000
(09:30 +0800)
committer
xbw
<xbw@rock-chips.com>
Fri, 12 Jul 2013 01:30:32 +0000
(09:30 +0800)
drivers/mtk_wcn_combo/gps/gps.c
patch
|
blob
|
history
diff --git
a/drivers/mtk_wcn_combo/gps/gps.c
b/drivers/mtk_wcn_combo/gps/gps.c
index c487076a99f524699a012e7139dd577d5af3b5d6..e3d9c96df3c2dc4dcdab9b832323dfe6d73f6633 100755
(executable)
--- 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;
}
/*****************************************************************************/