lkml.org 
[lkml]   [2015]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] watchdog: omap: fix build error
Date
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


\
 
 \ /
  Last update: 2015-06-29 20:01    [W:0.028 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site