Skip to contentSkip to conversation

watchdog: omap: fix build error

PATCH New Felipe Balbi 1 participant 1 message Jun 29, 2015 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: omap: fix build error

Fix reference to unexistent variable in omap_wdt_probe() caused by commit 387ee4d26e5f (watchdog: omap_wdt:
early_enable module parameter)

Fixes 387ee4d26e5f (watchdog: omap_wdt: early_enable module parameter)
---
 drivers/watchdog/omap_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/omap_wdt.c +1 -1
index 21ca96ab2a90..de911c7e477c 100644
@@ -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;
 }
Signature · 1 line
2.4.4