diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-04-20 22:28:24 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 07:53:28 +0200 |
commit | 09a46e739780aab2eadf47afdefa70c9cd69d83d (patch) | |
tree | c054eb4dd66931bf0ac4fb5235bdbdc19326ce82 /drivers/watchdog | |
parent | Merge branch 'x86-trampoline-for-linus' of git://git.kernel.org/pub/scm/linux... (diff) | |
download | linux-09a46e739780aab2eadf47afdefa70c9cd69d83d.tar.xz linux-09a46e739780aab2eadf47afdefa70c9cd69d83d.zip |
watchdog: watchdog_dev: include private header to pickup global symbol prototypes
Include the private watchdog_dev.h header to pickup the prototypes for the
watchdog_dev_register/unregister functions.
This quiets the following sparse warnings:
warning: symbol 'watchdog_dev_register' was not declared. Should it be static?
warning: symbol 'watchdog_dev_unregister' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/watchdog_dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watchdog/watchdog_dev.c index 8558da912c42..6c18a58cfd17 100644 --- a/drivers/watchdog/watchdog_dev.c +++ b/drivers/watchdog/watchdog_dev.c @@ -42,6 +42,8 @@ #include <linux/init.h> /* For __init/__exit/... */ #include <linux/uaccess.h> /* For copy_to_user/put_user/... */ +#include "watchdog_dev.h" + /* make sure we only register one /dev/watchdog device */ static unsigned long watchdog_dev_busy; /* the watchdog device behind /dev/watchdog */ |