watchdog: correct the name of the watchdog_core inlude file
authorWim Van Sebroeck <wim@iguana.be>
Mon, 21 May 2012 13:31:06 +0000 (15:31 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 30 May 2012 05:54:03 +0000 (07:54 +0200)
The watchdog_core include file should have been named
watchdog_core.h and not watchdog_dev.h . Correct this.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_core.c
drivers/watchdog/watchdog_core.h [new file with mode: 0644]
drivers/watchdog/watchdog_dev.c
drivers/watchdog/watchdog_dev.h [deleted file]

index 14d768b..8598308 100644 (file)
@@ -35,7 +35,7 @@
 #include <linux/watchdog.h>    /* For watchdog specific items */
 #include <linux/init.h>                /* For __init/__exit/... */
 
-#include "watchdog_dev.h"      /* For watchdog_dev_register/... */
+#include "watchdog_core.h"     /* For watchdog_dev_register/... */
 
 /**
  * watchdog_register_device() - register a watchdog device
diff --git a/drivers/watchdog/watchdog_core.h b/drivers/watchdog/watchdog_core.h
new file mode 100644 (file)
index 0000000..bc7612b
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ *     watchdog_core.h
+ *
+ *     (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
+ *                                             All Rights Reserved.
+ *
+ *     (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
+ *
+ *     This source code is part of the generic code that can be used
+ *     by all the watchdog timer drivers.
+ *
+ *     Based on source code of the following authors:
+ *       Matt Domsch <Matt_Domsch@dell.com>,
+ *       Rob Radez <rob@osinvestor.com>,
+ *       Rusty Lynch <rusty@linux.co.intel.com>
+ *       Satyam Sharma <satyam@infradead.org>
+ *       Randy Dunlap <randy.dunlap@oracle.com>
+ *
+ *     This program is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License
+ *     as published by the Free Software Foundation; either version
+ *     2 of the License, or (at your option) any later version.
+ *
+ *     Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
+ *     admit liability nor provide warranty for any of this software.
+ *     This material is provided "AS-IS" and at no charge.
+ */
+
+/*
+ *     Functions/procedures to be called by the core
+ */
+int watchdog_dev_register(struct watchdog_device *);
+int watchdog_dev_unregister(struct watchdog_device *);
index 930cc7c..beaf9cb 100644 (file)
@@ -42,7 +42,7 @@
 #include <linux/init.h>                /* For __init/__exit/... */
 #include <linux/uaccess.h>     /* For copy_to_user/put_user/... */
 
-#include "watchdog_dev.h"
+#include "watchdog_core.h"
 
 /* make sure we only register one /dev/watchdog device */
 static unsigned long watchdog_dev_busy;
diff --git a/drivers/watchdog/watchdog_dev.h b/drivers/watchdog/watchdog_dev.h
deleted file mode 100644 (file)
index bc7612b..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- *     watchdog_core.h
- *
- *     (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
- *                                             All Rights Reserved.
- *
- *     (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
- *
- *     This source code is part of the generic code that can be used
- *     by all the watchdog timer drivers.
- *
- *     Based on source code of the following authors:
- *       Matt Domsch <Matt_Domsch@dell.com>,
- *       Rob Radez <rob@osinvestor.com>,
- *       Rusty Lynch <rusty@linux.co.intel.com>
- *       Satyam Sharma <satyam@infradead.org>
- *       Randy Dunlap <randy.dunlap@oracle.com>
- *
- *     This program is free software; you can redistribute it and/or
- *     modify it under the terms of the GNU General Public License
- *     as published by the Free Software Foundation; either version
- *     2 of the License, or (at your option) any later version.
- *
- *     Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
- *     admit liability nor provide warranty for any of this software.
- *     This material is provided "AS-IS" and at no charge.
- */
-
-/*
- *     Functions/procedures to be called by the core
- */
-int watchdog_dev_register(struct watchdog_device *);
-int watchdog_dev_unregister(struct watchdog_device *);