summaryrefslogtreecommitdiffstats
path: root/include/watchdog.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-08-28 12:03:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-28 12:04:40 +0200
commitaba382e7afdbfbce8eb5207d43c987b3fa2f2df2 (patch)
tree47c46ea0fec96f272620d179af6c07bb3315ffc3 /include/watchdog.h
parent011b6bf8d5e7a40493f90faf7b6344c6df93c84f (diff)
downloadbarebox-aba382e7afdbfbce8eb5207d43c987b3fa2f2df2.tar.gz
barebox-aba382e7afdbfbce8eb5207d43c987b3fa2f2df2.tar.xz
watchdog: Fix static inline ops
...by actually making them static inline. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/watchdog.h')
-rw-r--r--include/watchdog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/watchdog.h b/include/watchdog.h
index 7e37b7c22a..7a98ae4434 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -27,12 +27,12 @@ static inline int watchdog_register(struct watchdog *w)
return 0;
}
-int watchdog_deregister(struct watchdog *w)
+static inline int watchdog_deregister(struct watchdog *w)
{
return 0;
}
-int watchdog_set_timeout(unsigned t)
+static inline int watchdog_set_timeout(unsigned t)
{
return 0;
}