Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
max732x.h
Go to the documentation of this file.
1 #ifndef __LINUX_I2C_MAX732X_H
2 #define __LINUX_I2C_MAX732X_H
3 
4 /* platform data for the MAX732x 8/16-bit I/O expander driver */
5 
7  /* number of the first GPIO */
8  unsigned gpio_base;
9 
10  /* interrupt base */
11  int irq_base;
12 
13  void *context; /* param to setup/teardown */
14 
15  int (*setup)(struct i2c_client *client,
16  unsigned gpio, unsigned ngpio,
17  void *context);
19  unsigned gpio, unsigned ngpio,
20  void *context);
21 };
22 #endif /* __LINUX_I2C_MAX732X_H */