0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _INPUT_CMA3000_H
0010 #define _INPUT_CMA3000_H
0011
0012 #include <linux/types.h>
0013 #include <linux/input.h>
0014
0015 struct device;
0016 struct cma3000_accl_data;
0017
0018 struct cma3000_bus_ops {
0019 u16 bustype;
0020 u8 ctrl_mod;
0021 int (*read)(struct device *, u8, char *);
0022 int (*write)(struct device *, u8, u8, char *);
0023 };
0024
0025 struct cma3000_accl_data *cma3000_init(struct device *dev, int irq,
0026 const struct cma3000_bus_ops *bops);
0027 void cma3000_exit(struct cma3000_accl_data *);
0028 void cma3000_suspend(struct cma3000_accl_data *);
0029 void cma3000_resume(struct cma3000_accl_data *);
0030
0031 #endif