aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/watchdog/wdat_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/wdat_wdt.c b/drivers/watchdog/wdat_wdt.c
index 4594723c27ba..e473e3b23720 100644
--- a/drivers/watchdog/wdat_wdt.c
+++ b/drivers/watchdog/wdat_wdt.c
@@ -207,7 +207,7 @@ static int wdat_wdt_enable_reboot(struct wdat_wdt *wdat)
207 * recommeded to make it configurable through hardware register. We 207 * recommeded to make it configurable through hardware register. We
208 * enable reboot now if it is configrable, just in case. 208 * enable reboot now if it is configrable, just in case.
209 */ 209 */
210 ret = wdat_wdt_run_action(wdat, ACPI_WDAT_SET_REBOOT, 0, 0); 210 ret = wdat_wdt_run_action(wdat, ACPI_WDAT_SET_REBOOT, 0, NULL);
211 if (ret && ret != -EOPNOTSUPP) { 211 if (ret && ret != -EOPNOTSUPP) {
212 dev_err(&wdat->pdev->dev, 212 dev_err(&wdat->pdev->dev,
213 "Failed to enable reboot when watchdog triggers\n"); 213 "Failed to enable reboot when watchdog triggers\n");
@@ -232,7 +232,7 @@ static void wdat_wdt_boot_status(struct wdat_wdt *wdat)
232 wdat->wdd.bootstatus = WDIOF_CARDRESET; 232 wdat->wdd.bootstatus = WDIOF_CARDRESET;
233 233
234 /* Clear the boot status in case BIOS did not do it */ 234 /* Clear the boot status in case BIOS did not do it */
235 ret = wdat_wdt_run_action(wdat, ACPI_WDAT_SET_STATUS, 0, 0); 235 ret = wdat_wdt_run_action(wdat, ACPI_WDAT_SET_STATUS, 0, NULL);
236 if (ret && ret != -EOPNOTSUPP) 236 if (ret && ret != -EOPNOTSUPP)
237 dev_err(&wdat->pdev->dev, "Failed to clear boot status\n"); 237 dev_err(&wdat->pdev->dev, "Failed to clear boot status\n");
238} 238}