diff options
| author | John Crispin <blogic@openwrt.org> | 2016-01-27 06:47:36 -0500 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2016-03-16 04:50:28 -0400 |
| commit | feec4799ac4d214abd62e2bdfccb3ca9c5801d2f (patch) | |
| tree | 7ac73821186ba1c2287429a0fa51fcbb001e762f /include/linux/mfd | |
| parent | daf5ae7850448ddf6aa4168334814ff3d8641fc1 (diff) | |
mfd: mt6397: int_con and int_status may vary in location
MT6323 has the INT_CON and INT_STATUS located at a different position.
Make the registers locations configurable.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/mt6397/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/mt6397/core.h b/include/linux/mfd/mt6397/core.h index 45b8e8aa1fbf..d678f526e498 100644 --- a/include/linux/mfd/mt6397/core.h +++ b/include/linux/mfd/mt6397/core.h | |||
| @@ -60,6 +60,8 @@ struct mt6397_chip { | |||
| 60 | u16 wake_mask[2]; | 60 | u16 wake_mask[2]; |
| 61 | u16 irq_masks_cur[2]; | 61 | u16 irq_masks_cur[2]; |
| 62 | u16 irq_masks_cache[2]; | 62 | u16 irq_masks_cache[2]; |
| 63 | u16 int_con[2]; | ||
| 64 | u16 int_status[2]; | ||
| 63 | }; | 65 | }; |
| 64 | 66 | ||
| 65 | #endif /* __MFD_MT6397_CORE_H__ */ | 67 | #endif /* __MFD_MT6397_CORE_H__ */ |
