added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / include / linux / i2c / max732x.h
blobe10336631c62d40e51989ce305282ae731c8d580
1 #ifndef __LINUX_I2C_MAX732X_H
2 #define __LINUX_I2C_MAX732X_H
4 /* platform data for the MAX732x 8/16-bit I/O expander driver */
6 struct max732x_platform_data {
7 /* number of the first GPIO */
8 unsigned gpio_base;
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);
19 #endif /* __LINUX_I2C_MAX732X_H */