0001
0002 #ifndef _LINUX_PCA953X_H
0003 #define _LINUX_PCA953X_H
0004
0005 #include <linux/types.h>
0006 #include <linux/i2c.h>
0007
0008
0009
0010 struct pca953x_platform_data {
0011
0012 unsigned gpio_base;
0013
0014
0015 u32 invert;
0016
0017
0018 int irq_base;
0019
0020 void *context;
0021
0022 int (*setup)(struct i2c_client *client,
0023 unsigned gpio, unsigned ngpio,
0024 void *context);
0025 int (*teardown)(struct i2c_client *client,
0026 unsigned gpio, unsigned ngpio,
0027 void *context);
0028 const char *const *names;
0029 };
0030
0031 #endif