diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/wm831x/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/wm831x/core.h b/include/linux/mfd/wm831x/core.h index 0d515ee1c247..ebead1c401aa 100644 --- a/include/linux/mfd/wm831x/core.h +++ b/include/linux/mfd/wm831x/core.h | |||
| @@ -237,6 +237,7 @@ | |||
| 237 | struct regulator_dev; | 237 | struct regulator_dev; |
| 238 | 238 | ||
| 239 | #define WM831X_NUM_IRQ_REGS 5 | 239 | #define WM831X_NUM_IRQ_REGS 5 |
| 240 | #define WM831X_NUM_GPIO_REGS 16 | ||
| 240 | 241 | ||
| 241 | enum wm831x_parent { | 242 | enum wm831x_parent { |
| 242 | WM8310 = 0x8310, | 243 | WM8310 = 0x8310, |
| @@ -272,6 +273,9 @@ struct wm831x { | |||
| 272 | 273 | ||
| 273 | int num_gpio; | 274 | int num_gpio; |
| 274 | 275 | ||
| 276 | /* Used by the interrupt controller code to post writes */ | ||
| 277 | int gpio_update[WM831X_NUM_GPIO_REGS]; | ||
| 278 | |||
| 275 | struct mutex auxadc_lock; | 279 | struct mutex auxadc_lock; |
| 276 | struct completion auxadc_done; | 280 | struct completion auxadc_done; |
| 277 | 281 | ||
