1
2
3
4
5
6
7
8
9 #ifndef _INPUT_CMA3000_H
10 #define _INPUT_CMA3000_H
11
12 #include <linux/types.h>
13 #include <linux/input.h>
14
15 struct device;
16 struct cma3000_accl_data;
17
18 struct cma3000_bus_ops {
19 u16 bustype;
20 u8 ctrl_mod;
21 int (*read)(struct device *, u8, char *);
22 int (*write)(struct device *, u8, u8, char *);
23 };
24
25 struct cma3000_accl_data *cma3000_init(struct device *dev, int irq,
26 const struct cma3000_bus_ops *bops);
27 void cma3000_exit(struct cma3000_accl_data *);
28 void cma3000_suspend(struct cma3000_accl_data *);
29 void cma3000_resume(struct cma3000_accl_data *);
30
31 #endif