UPSTREAM: clk: rockchip: release io resource when failing to init clk
[firefly-linux-kernel-4.4.55.git] / include / linux / mt6229.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_mt6229_data {
13         struct device *dev;
14         int (*io_init)(void);
15         int (*io_deinit)(void);
16         unsigned int bp_power;
17         unsigned int bp_reset;
18         unsigned int bp_wakeup_ap;
19         unsigned int modem_usb_en;
20         unsigned int modem_uart_en;
21         unsigned int modem_power_en;
22         unsigned int ap_ready;
23 };
24
25 #define MODEM_NAME "mt6229"