Thread (1 message) 1 message, 1 author, 2013-02-14
DORMANTno replies

[PATCH v9 1/8] watchdog: core: add static to watchdog_check_min_max_timeout()

From: Fabio Porcedda <hidden>
Date: 2013-02-14 08:14:23
Also in: linux-arm-kernel, linux-watchdog
Subsystem: the rest, watchdog device drivers · Maintainers: Linus Torvalds, Wim Van Sebroeck, Guenter Roeck

Because is an internal function is better to use static to help
the compiler.

Signed-off-by: Fabio Porcedda <redacted>
Cc: Wim Van Sebroeck <redacted>
Cc: linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
 drivers/watchdog/watchdog_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index a74a3ef..94590f6 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -43,7 +43,7 @@
 static DEFINE_IDA(watchdog_ida);
 static struct class *watchdog_class;
 
-void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
+static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
 {
 	/*
 	 * Check that we have valid min and max timeout values, if
-- 
1.8.1.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help