Commit 09a46e73 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Wim Van Sebroeck

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 731a7378
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
#include <linux/init.h> /* For __init/__exit/... */ #include <linux/init.h> /* For __init/__exit/... */
#include <linux/uaccess.h> /* For copy_to_user/put_user/... */ #include <linux/uaccess.h> /* For copy_to_user/put_user/... */
#include "watchdog_dev.h"
/* make sure we only register one /dev/watchdog device */ /* make sure we only register one /dev/watchdog device */
static unsigned long watchdog_dev_busy; static unsigned long watchdog_dev_busy;
/* the watchdog device behind /dev/watchdog */ /* the watchdog device behind /dev/watchdog */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment