summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/w83627hf_wdt.c
diff options
context:
space:
mode:
authorSrikanth Krishnakar <skrishnakar@gmail.com>2019-09-18 18:04:58 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-12-30 15:58:23 +0100
commitafcd5b9be566e43f4433ebcdd4de2c4e9054fd65 (patch)
treef0a799cb10c1d419e6bf75b79ff53423147596f5 /drivers/watchdog/w83627hf_wdt.c
parentLinux 5.5-rc2 (diff)
downloadlinux-afcd5b9be566e43f4433ebcdd4de2c4e9054fd65.tar.xz
linux-afcd5b9be566e43f4433ebcdd4de2c4e9054fd65.zip
watchdog: w83627hf_wdt: Fix support NCT6116D
We should select nct6116 for the new chip, not nct6102. Signed-off-by: Srikanth Krishnakar <skrishnakar@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/w83627hf_wdt.c')
-rw-r--r--drivers/watchdog/w83627hf_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog/w83627hf_wdt.c
index fdf533fe0bb2..56a4a4030ca9 100644
--- a/drivers/watchdog/w83627hf_wdt.c
+++ b/drivers/watchdog/w83627hf_wdt.c
@@ -420,7 +420,7 @@ static int wdt_find(int addr)
cr_wdt_csr = NCT6102D_WDT_CSR;
break;
case NCT6116_ID:
- ret = nct6102;
+ ret = nct6116;
cr_wdt_timeout = NCT6102D_WDT_TIMEOUT;
cr_wdt_control = NCT6102D_WDT_CONTROL;
cr_wdt_csr = NCT6102D_WDT_CSR;