hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (C) 2017 Spreadtrum Communications Inc.
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * 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.
 */
 
#ifndef _WCN_GNSS_H
#define _WCN_GNSS_H
 
#ifdef CONFIG_SC2342_INTEG
struct sprdwcn_gnss_ops {
   int (*file_judge)(char *buff, int type);
};
#else
struct sprdwcn_gnss_ops {
   int (*backup_data)(void);
   int (*write_data)(void);
   void (*set_file_path)(char *buf);
   int (*wait_gnss_boot)(void);
};
#endif
int wcn_gnss_ops_register(struct sprdwcn_gnss_ops *ops);
void wcn_gnss_ops_unregister(void);
 
#endif