diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-15 12:15:17 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-15 12:15:17 -0400 |
| commit | f3efbe582b5396d134024c03a5fa253f2a85d9a6 (patch) | |
| tree | e4e15b7567b82d24cb1e7327398286a2b88df04c /include/linux/i2c | |
| parent | 05d3ed0a1fe3ea05ab9f3b8d32576a0bc2e19660 (diff) | |
| parent | b635acec48bcaa9183fcbf4e3955616b0d4119b5 (diff) | |
Merge branch 'linus' into x86/gart
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/max732x.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/i2c/max732x.h b/include/linux/i2c/max732x.h new file mode 100644 index 000000000000..e10336631c62 --- /dev/null +++ b/include/linux/i2c/max732x.h | |||
| @@ -0,0 +1,19 @@ | |||
| 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 | |||
| 6 | struct max732x_platform_data { | ||
| 7 | /* number of the first GPIO */ | ||
| 8 | unsigned gpio_base; | ||
| 9 | |||
| 10 | void *context; /* param to setup/teardown */ | ||
| 11 | |||
| 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 | }; | ||
| 19 | #endif /* __LINUX_I2C_MAX732X_H */ | ||
