]> git.baikalelectronics.ru Git - kernel.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)
commitf38f2b6ed965c7390bae52b4265cff73b0c62769
tree616ade19539b7f6ce4edb0708dfac2da5499e7b1
parentc01b789a4b7e54de6858faeadf99c45105750f38
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