* [PATCH] watchdog: omap: fix build error
@ 2015-06-29 17:51 Felipe Balbi
0 siblings, 0 replies; only message in thread
From: Felipe Balbi @ 2015-06-29 17:51 UTC (permalink / raw)
To: Wim Van Sebroeck
Cc: linux-watchdog, Linux OMAP Mailing List,
Linux ARM Kernel Mailing List, Linux Kernel Mailing List,
Mark Brown, Tony Lindgren, Felipe Balbi
Fix reference to unexistent variable in omap_wdt_probe()
caused by commit 387ee4d26e5f (watchdog: omap_wdt:
early_enable module parameter)
Reported-by: Mark Brown <broonie@kernel.org>
Fixes: 387ee4d26e5f (watchdog: omap_wdt: early_enable module parameter)
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
drivers/watchdog/omap_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c
index 21ca96ab2a90..de911c7e477c 100644
--- a/drivers/watchdog/omap_wdt.c
+++ b/drivers/watchdog/omap_wdt.c
@@ -285,7 +285,7 @@ static int omap_wdt_probe(struct platform_device *pdev)
pm_runtime_put_sync(wdev->dev);
if (early_enable)
- omap_wdt_start(omap_wdt);
+ omap_wdt_start(&wdev->wdog);
return 0;
}
--
2.4.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-29 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 17:51 [PATCH] watchdog: omap: fix build error Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®