GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / input / misc / ad714x.h
blob45c54fb13f0755007e689d9b549b615d71b4a104
1 /*
2 * AD714X CapTouch Programmable Controller driver (bus interfaces)
4 * Copyright 2009 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
7 */
9 #ifndef _AD714X_H_
10 #define _AD714X_H_
12 #include <linux/types.h>
14 struct device;
15 struct ad714x_chip;
17 typedef int (*ad714x_read_t)(struct device *, unsigned short, unsigned short *);
18 typedef int (*ad714x_write_t)(struct device *, unsigned short, unsigned short);
20 int ad714x_disable(struct ad714x_chip *ad714x);
21 int ad714x_enable(struct ad714x_chip *ad714x);
22 struct ad714x_chip *ad714x_probe(struct device *dev, u16 bus_type, int irq,
23 ad714x_read_t read, ad714x_write_t write);
24 void ad714x_remove(struct ad714x_chip *ad714x);
26 #endif