diff mbox series

[v3,3/3] watchdog: mtk_wdt: merge all the reset numbers in one head file

Message ID 1596004249-28655-4-git-send-email-crystal.guo@mediatek.com (mailing list archive)
State New, archived
Headers show
Series mtk_wdt: merge all the reset numbers in one head file | expand

Commit Message

Crystal Guo July 29, 2020, 6:30 a.m. UTC
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@mediatek.com>
---
 drivers/watchdog/mtk_wdt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

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>