Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0
[firefly-linux-kernel-4.4.55.git] / include / linux / mw100.h
1 #include <linux/types.h>
2 #include <linux/ioctl.h>
3 #include <linux/miscdevice.h>
4
5 struct modem_dev
6 {
7         const char *name;
8         struct miscdevice miscdev;
9         struct work_struct work;
10 };
11
12 struct rk29_mw100_data {
13         struct device *dev;
14         int (*io_init)(void);
15         int (*io_deinit)(void);
16         unsigned int bp_power;
17         unsigned int bp_power_active_low;
18         unsigned int bp_reset;
19         unsigned int bp_reset_active_low;
20         unsigned int bp_wakeup_ap;
21         unsigned int ap_wakeup_bp;
22         unsigned int modem_power_en;
23 };
24
25 #define MODEM_NAME "mw100"