summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wylder <jwylder@motorola.com>2014-06-19 16:34:31 -0500
committerJames Wylder <jwylder@motorola.com>2014-06-25 16:42:25 +0000
commit1bb5e5f3ff453b8b312b210b4e5cef50c1613d44 (patch)
tree017032f951b07074f314b4ad241e1008c990fd95
parentafafddafc588120fa3c90325a97038bf6abf55d2 (diff)
downloadolio-linux-3.10-1bb5e5f3ff453b8b312b210b4e5cef50c1613d44.tar.xz
olio-linux-3.10-1bb5e5f3ff453b8b312b210b4e5cef50c1613d44.zip
IKXCLOCK-2470 watchdog: omap compile error for autopet
Fix compiler error when you disable AUTOPET of omap watchdog. Change-Id: I9cb121aa1607522ac8a69cf9ccd76233c7caf274 Signed-off-by: Jim Wylder <jwylder@motorola.com>
-rw-r--r--drivers/watchdog/omap_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c
index 057fe5e00f2..83cd236830a 100644
--- a/drivers/watchdog/omap_wdt.c
+++ b/drivers/watchdog/omap_wdt.c
@@ -251,8 +251,8 @@ static void autopet_init(struct watchdog_device *wdog)
}
#else
static inline void autopet_init(struct watchdog_device *wdog) {}
-static inline void autopet_stop(struct omap_wdt_dev *wdev) {}
-static inline void autopet_start(struct omap_wdt_dev *wdev) {}
+static inline void autopet_stop(struct watchdog_device *wdog) {}
+static inline void autopet_start(struct watchdog_device *wdog) {}
#endif
static int omap_wdt_probe(struct platform_device *pdev)