]> git.karo-electronics.de Git - karo-tx-linux.git/commit
soc: mediatek: PMIC wrap: move wdt_src into the pmic_wrapper_type struct
authorJohn Crispin <blogic@openwrt.org>
Fri, 19 Feb 2016 08:44:11 +0000 (09:44 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 20 Apr 2016 11:03:03 +0000 (13:03 +0200)
commit95b25c589158d97fbc6d5504b434aef263798fa7
tree616ade19539b7f6ce4edb0708dfac2da5499e7b1
parent174f7b4ce15f9edd77caac67a82c686c54788485
soc: mediatek: PMIC wrap: move wdt_src into the pmic_wrapper_type struct

Different SoCs will use different bitmask for the wdt_src. This patch
defines the bitmask in the pmic_wrapper_type struct. This allows us to
support new SoCs with a different bitmask to the one currently used.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c