diff options
Diffstat (limited to 'ANDROID_3.4.5/include/linux/i2c/pca953x.h')
-rw-r--r-- | ANDROID_3.4.5/include/linux/i2c/pca953x.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ANDROID_3.4.5/include/linux/i2c/pca953x.h b/ANDROID_3.4.5/include/linux/i2c/pca953x.h deleted file mode 100644 index 139ba526..00000000 --- a/ANDROID_3.4.5/include/linux/i2c/pca953x.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef _LINUX_PCA953X_H -#define _LINUX_PCA953X_H - -#include <linux/types.h> -#include <linux/i2c.h> - -/* platform data for the PCA9539 16-bit I/O expander driver */ - -struct pca953x_platform_data { - /* number of the first GPIO */ - unsigned gpio_base; - - /* initial polarity inversion setting */ - uint16_t invert; - - /* interrupt base */ - int irq_base; - - void *context; /* param to setup/teardown */ - - int (*setup)(struct i2c_client *client, - unsigned gpio, unsigned ngpio, - void *context); - int (*teardown)(struct i2c_client *client, - unsigned gpio, unsigned ngpio, - void *context); - const char *const *names; -}; - -#endif /* _LINUX_PCA953X_H */ |