1 #ifndef _LINUX_PCA953X_H
2 #define _LINUX_PCA953X_H
4 #include <linux/types.h>
7 /* platform data for the PCA9539 16-bit I/O expander driver */
9 struct pca953x_platform_data {
10 /* number of the first GPIO */
13 /* initial polarity inversion setting */
16 void *context; /* param to setup/teardown */
18 int (*setup)(struct i2c_client *client,
19 unsigned gpio, unsigned ngpio,
21 int (*teardown)(struct i2c_client *client,
22 unsigned gpio, unsigned ngpio,
27 #endif /* _LINUX_PCA953X_H */