[v3, 3/3] watchdog: mtk_wdt: merge all the reset numbers in one head file
Crystal Guo
crystal.guo at mediatek.com
Wed Jul 29 02:30:49 EDT 2020
mt8xxx-resets.h actually just used to define TOPRGU_SW_RST_NUM.
Instead of resubmit a new mt8xxx-reset.h for a new IC, merge all
the reset numbers in one head file.
Signed-off-by: Crystal Guo <crystal.guo at mediatek.com>
---
drivers/watchdog/mtk_wdt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c
index d6a6393..5000a49 100644
--- a/drivers/watchdog/mtk_wdt.c
+++ b/drivers/watchdog/mtk_wdt.c
@@ -9,8 +9,7 @@
* Based on sunxi_wdt.c
*/
-#include <dt-bindings/reset-controller/mt2712-resets.h>
-#include <dt-bindings/reset-controller/mt8183-resets.h>
+#include <dt-bindings/reset-controller/mtk-resets.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
--
1.8.1.1.dirty
More information about the Linux-mediatek
mailing list