From: Jonathan Neuschäfer Date: Tue, 6 Apr 2021 12:09:18 +0000 (+0200) Subject: watchdog: npcm: Add support for WPCM450 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=328d1c1a92d9eea42943af9edd5393dcd06bd591;p=linux.git watchdog: npcm: Add support for WPCM450 Add a compatible string for WPCM450, which has essentially the same watchdog mechanism as NPCM750. Signed-off-by: Jonathan Neuschäfer Acked-by: Guenter Roeck Reviewed-by: Joel Stanley Link: https://lore.kernel.org/r/20210406120921.2484986-8-j.neuschaefer@gmx.net Signed-off-by: Joel Stanley --- diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c index 765577f11c8db..28a24caa2627c 100644 --- a/drivers/watchdog/npcm_wdt.c +++ b/drivers/watchdog/npcm_wdt.c @@ -229,6 +229,7 @@ static int npcm_wdt_probe(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id npcm_wdt_match[] = { + {.compatible = "nuvoton,wpcm450-wdt"}, {.compatible = "nuvoton,npcm750-wdt"}, {}, };