MT6620: add the new driver JB2 V1.0
[firefly-linux-kernel-4.4.55.git] / drivers / mtk_wcn_combo / drv_fm / core / fm_eint.c
1 /* mt6620_fm_eint.c
2  *
3  * (C) Copyright 2009 
4  * MediaTek <www.MediaTek.com>
5  * Run <Run.Liu@MediaTek.com>
6  *
7  * WCN combo chip FM Radio Driver -- EINT functions
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23 #if (defined(MT6620_FM)||defined(MT6628_FM))
24 #include "stp_exp.h"
25 #include "wmt_exp.h"
26
27 #include "fm_typedef.h"
28 #include "fm_dbg.h"
29 #include "fm_err.h"
30 #include "fm_eint.h"
31        
32 fm_s32 fm_enable_eint(void)
33 {
34         return 0;
35 }
36
37 fm_s32 fm_disable_eint(void)
38 {
39         return 0;
40 }
41
42 fm_s32 fm_request_eint(void (*parser)(void))
43 {
44     WCN_DBG(FM_NTC|EINT,"%s\n", __func__);
45
46     mtk_wcn_stp_register_event_cb(FM_TASK_INDX, parser);
47     
48         return 0;
49 }
50
51 fm_s32 fm_eint_pin_cfg(fm_s32 mode)
52 {       
53         return 0;
54 }
55 #endif