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
32
33
34
35
36
37
38
39
40
41
42
43
|
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <linux/poll.h>
int __weak exec_ccci_kern_func_by_md_id(int md_id, unsigned int id, char *buf, unsigned int len)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
int __weak switch_sim_mode(int id, char *buf, unsigned int len)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
unsigned int __weak get_sim_switch_type(void)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
unsigned int __weak get_modem_is_enabled(int md_id)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
int __weak register_ccci_sys_call_back(int md_id, unsigned int id, int (*func)(int, int))
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
unsigned int __weak mt_irq_get_pending(unsigned int irq)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
return 0;
}
void __weak notify_time_update(void)
{
printk("[ccci/dummy] %s is not supported!\n",__func__);
}
|