diff options
| author | Jun Wu <jun.wu@mediatek.com> | 2015-11-17 10:28:46 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2016-12-25 12:33:10 +0100 |
| commit | fbcf666fc6fd40d29a777d1fd1e340a89ca623a7 (patch) | |
| tree | 6db5cd6ba798766a7c4d62e3c1128408732c9eda /drivers/misc/mediatek/connectivity/common_detect | |
| parent | 6e171bf6d71dad9b810d13476d5196b2832954bf (diff) | |
| download | android_kernel_m2note-fbcf666fc6fd40d29a777d1fd1e340a89ca623a7.tar.gz | |
ANT:remove ANT+ kernel driver code
BUG=23460645
Change-Id: I303e1f49f6a5ae0bf8e9ae92de7403b9915298ca
CR-Id:ALPS02268730
Feature: MTK ANT+ Solution
Signed-off-by: Jun Wu <jun.wu@mediatek.com>
Diffstat (limited to 'drivers/misc/mediatek/connectivity/common_detect')
| -rw-r--r-- | drivers/misc/mediatek/connectivity/common_detect/drv_init/Makefile | 3 | ||||
| -rw-r--r-- | drivers/misc/mediatek/connectivity/common_detect/drv_init/ant_drv_init.c | 40 |
2 files changed, 0 insertions, 43 deletions
diff --git a/drivers/misc/mediatek/connectivity/common_detect/drv_init/Makefile b/drivers/misc/mediatek/connectivity/common_detect/drv_init/Makefile index 97d20a5bd..af845ca67 100644 --- a/drivers/misc/mediatek/connectivity/common_detect/drv_init/Makefile +++ b/drivers/misc/mediatek/connectivity/common_detect/drv_init/Makefile @@ -9,9 +9,6 @@ ifeq ($(CONFIG_MTK_COMBO),y) obj-y += gps_drv_init.o obj-y += fm_drv_init.o obj-y += wlan_drv_init.o -ifneq ($(filter "MT6630",$(CONFIG_MTK_COMBO_CHIP)),) - obj-y += ant_drv_init.o -endif ifneq ($(filter "MT6620",$(CONFIG_MTK_COMBO_CHIP)),) ccflags-y += -DMT6620 diff --git a/drivers/misc/mediatek/connectivity/common_detect/drv_init/ant_drv_init.c b/drivers/misc/mediatek/connectivity/common_detect/drv_init/ant_drv_init.c deleted file mode 100644 index 70ca3922c..000000000 --- a/drivers/misc/mediatek/connectivity/common_detect/drv_init/ant_drv_init.c +++ /dev/null @@ -1,40 +0,0 @@ -/* -* Copyright (C) 2011-2014 MediaTek Inc. -* -* This program is free software: you can redistribute it and/or modify it under the terms of the -* GNU General Public License version 2 as published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; -* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* See the GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along with this program. -* If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifdef DFT_TAG -#undef DFT_TAG -#endif -#define DFT_TAG "[ANT-MOD-INIT]" - -#include "wmt_detect.h" -#include "ant_drv_init.h" - - -int do_ant_drv_init(int chip_id) -{ - int i_ret = -1; - WMT_DETECT_INFO_FUNC("start to do ANT driver init \n"); - switch (chip_id) - { - case 0x6630: - i_ret = mtk_wcn_stpant_drv_init(); - WMT_DETECT_INFO_FUNC("finish ANT driver init, i_ret:%d\n", i_ret); - break; - default: - WMT_DETECT_ERR_FUNC("chipid is not 6630,ANT is not supported!\n"); - } - return i_ret; -} - - |
