]> 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)
commit547e03df85e23e655a8e23542ef4423b20b82935
tree616ade19539b7f6ce4edb0708dfac2da5499e7b1
parent5e5e15ff86edc5e165f0ead4986c0bc2a316877d
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