diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-04-20 16:28:24 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 01:53:28 -0400 |
commit | 09a46e739780aab2eadf47afdefa70c9cd69d83d (patch) | |
tree | c054eb4dd66931bf0ac4fb5235bdbdc19326ce82 /drivers/watchdog | |
parent | 731a7378b81c2f5fa88ca1ae20b83d548d5613dc (diff) |
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 @@ | |||
42 | #include <linux/init.h> /* For __init/__exit/... */ | 42 | #include <linux/init.h> /* For __init/__exit/... */ |
43 | #include <linux/uaccess.h> /* For copy_to_user/put_user/... */ | 43 | #include <linux/uaccess.h> /* For copy_to_user/put_user/... */ |
44 | 44 | ||
45 | #include "watchdog_dev.h" | ||
46 | |||
45 | /* make sure we only register one /dev/watchdog device */ | 47 | /* make sure we only register one /dev/watchdog device */ |
46 | static unsigned long watchdog_dev_busy; | 48 | static unsigned long watchdog_dev_busy; |
47 | /* the watchdog device behind /dev/watchdog */ | 49 | /* the watchdog device behind /dev/watchdog */ |