mfd: mt6397: int_con and int_status may vary in location
authorJohn Crispin <blogic@openwrt.org>
Wed, 27 Jan 2016 11:47:36 +0000 (12:47 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Mar 2016 08:50:28 +0000 (08:50 +0000)
commitfeec4799ac4d214abd62e2bdfccb3ca9c5801d2f
tree7ac73821186ba1c2287429a0fa51fcbb001e762f
parentdaf5ae7850448ddf6aa4168334814ff3d8641fc1
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>
drivers/mfd/mt6397-core.c
include/linux/mfd/mt6397/core.h