summaryrefslogtreecommitdiff
path: root/drivers/watchdog/tangox_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/tangox_wdt.c')
-rw-r--r--drivers/watchdog/tangox_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/tangox_wdt.c b/drivers/watchdog/tangox_wdt.c
index b9ee6246e7c2..709c1ed6fd79 100644
--- a/drivers/watchdog/tangox_wdt.c
+++ b/drivers/watchdog/tangox_wdt.c
@@ -184,7 +184,7 @@ static int tangox_wdt_probe(struct platform_device *pdev)
if (err)
dev_warn(&pdev->dev, "failed to register restart handler\n");
- dev_info(dev->wdt.dev, "SMP86xx/SMP87xx watchdog registered\n");
+ dev_info(&pdev->dev, "SMP86xx/SMP87xx watchdog registered\n");
return 0;
}