diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/drivers/input/misc/ad714x.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/drivers/input/misc/ad714x.h')
-rw-r--r-- | ANDROID_3.4.5/drivers/input/misc/ad714x.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/ANDROID_3.4.5/drivers/input/misc/ad714x.h b/ANDROID_3.4.5/drivers/input/misc/ad714x.h deleted file mode 100644 index 3c85455a..00000000 --- a/ANDROID_3.4.5/drivers/input/misc/ad714x.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * AD714X CapTouch Programmable Controller driver (bus interfaces) - * - * Copyright 2009-2011 Analog Devices Inc. - * - * Licensed under the GPL-2 or later. - */ - -#ifndef _AD714X_H_ -#define _AD714X_H_ - -#include <linux/types.h> - -#define STAGE_NUM 12 - -struct device; -struct ad714x_platform_data; -struct ad714x_driver_data; -struct ad714x_chip; - -typedef int (*ad714x_read_t)(struct ad714x_chip *, unsigned short, unsigned short *, size_t); -typedef int (*ad714x_write_t)(struct ad714x_chip *, unsigned short, unsigned short); - -struct ad714x_chip { - unsigned short l_state; - unsigned short h_state; - unsigned short c_state; - unsigned short adc_reg[STAGE_NUM]; - unsigned short amb_reg[STAGE_NUM]; - unsigned short sensor_val[STAGE_NUM]; - - struct ad714x_platform_data *hw; - struct ad714x_driver_data *sw; - - int irq; - struct device *dev; - ad714x_read_t read; - ad714x_write_t write; - - struct mutex mutex; - - unsigned product; - unsigned version; - - __be16 xfer_buf[16] ____cacheline_aligned; - -}; - -int ad714x_disable(struct ad714x_chip *ad714x); -int ad714x_enable(struct ad714x_chip *ad714x); -struct ad714x_chip *ad714x_probe(struct device *dev, u16 bus_type, int irq, - ad714x_read_t read, ad714x_write_t write); -void ad714x_remove(struct ad714x_chip *ad714x); - -#endif |