Merge branch 'cfq-2.6.33' into for-2.6.33
[linux-2.6/next.git] / include / linux / i2c / pca953x.h
blob81736d6a8db7380280a8da7757ca017ed2ce08e4
1 /* platform data for the PCA9539 16-bit I/O expander driver */
3 struct pca953x_platform_data {
4 /* number of the first GPIO */
5 unsigned gpio_base;
7 /* initial polarity inversion setting */
8 uint16_t invert;
10 void *context; /* param to setup/teardown */
12 int (*setup)(struct i2c_client *client,
13 unsigned gpio, unsigned ngpio,
14 void *context);
15 int (*teardown)(struct i2c_client *client,
16 unsigned gpio, unsigned ngpio,
17 void *context);
18 char **names;