1 #include <linux/types.h>
2 #include <linux/ioctl.h>
3 #include <linux/miscdevice.h>
8 struct miscdevice miscdev;
9 struct work_struct work;
12 /* è
\80³æ
\9cºæ
\95°æ
\8d®ç»
\93æ
\9e\84ä½?*/
13 struct rk2818_23d_data {
16 int (*io_deinit)(void);
17 unsigned int bp_power;
18 unsigned int bp_power_active_low;
19 unsigned int bp_reset;
20 unsigned int bp_reset_active_low;
21 unsigned int bp_statue;
22 unsigned int ap_statue;
23 unsigned int ap_bp_wakeup;
24 unsigned int bp_ap_wakeup;
25 struct semaphore power_sem;
28 #define MODEM_NAME "mtk23d"