2 * omap_ts.h - header file for OMAP touchscreen support
4 * Copyright (c) 2002 MontaVista Software Inc.
5 * Copyright (c) 2004 Texas Instruments, Inc.
7 * Assembled using driver code copyright the companies above.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #define DEBUG_TS(fmt...) printk(fmt)
30 #define DEBUG_TS(fmt...) do { } while (0)
36 int (*probe) (struct omap_ts_t *);
38 void (*enable) (void);
39 void (*disable) (void);
40 void (*remove) (void);
45 struct input_dev * inputdevice;
46 struct timer_list ts_timer; // Timer for triggering acquisitions
51 struct ts_device *dev;
55 extern struct ts_device hx_ts;
57 #endif /* __OMAP_TS_H */