aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-03-28 13:30:03 -0400
committerDavid Howells <dhowells@redhat.com>2012-03-28 13:30:03 -0400
commit9ffc93f203c18a70623f21950f1dd473c9ec48cd (patch)
tree1eb3536ae183b0bfbf7f5152a6fe4f430ae881c2 /drivers/watchdog
parent96f951edb1f1bdbbc99b0cd458f9808bb83d58ae (diff)
Remove all #inclusions of asm/system.h
Remove all #inclusions of asm/system.h preparatory to splitting and killing it. Performed with the following command: perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *` Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/advantechwdt.c1
-rw-r--r--drivers/watchdog/alim7101_wdt.c1
-rw-r--r--drivers/watchdog/booke_wdt.c1
-rw-r--r--drivers/watchdog/eurotechwdt.c1
-rw-r--r--drivers/watchdog/ib700wdt.c1
-rw-r--r--drivers/watchdog/it87_wdt.c1
-rw-r--r--drivers/watchdog/machzwd.c1
-rw-r--r--drivers/watchdog/pc87413_wdt.c1
-rw-r--r--drivers/watchdog/sbc60xxwdt.c1
-rw-r--r--drivers/watchdog/sbc7240_wdt.c1
-rw-r--r--drivers/watchdog/sbc8360.c1
-rw-r--r--drivers/watchdog/sbc_fitpc2_wdt.c1
-rw-r--r--drivers/watchdog/sc520_wdt.c1
-rw-r--r--drivers/watchdog/smsc37b787_wdt.c1
-rw-r--r--drivers/watchdog/w83627hf_wdt.c1
-rw-r--r--drivers/watchdog/w83697hf_wdt.c1
-rw-r--r--drivers/watchdog/w83697ug_wdt.c1
-rw-r--r--drivers/watchdog/w83877f_wdt.c1
-rw-r--r--drivers/watchdog/w83977f_wdt.c1
-rw-r--r--drivers/watchdog/wdt.c1
-rw-r--r--drivers/watchdog/wdt977.c1
-rw-r--r--drivers/watchdog/wdt_pci.c1
22 files changed, 0 insertions, 22 deletions
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c
index 4d40965d2c9f..6112bef2e8d6 100644
--- a/drivers/watchdog/advantechwdt.c
+++ b/drivers/watchdog/advantechwdt.c
@@ -40,7 +40,6 @@
40#include <linux/io.h> 40#include <linux/io.h>
41#include <linux/uaccess.h> 41#include <linux/uaccess.h>
42 42
43#include <asm/system.h>
44 43
45#define DRV_NAME "advantechwdt" 44#define DRV_NAME "advantechwdt"
46#define PFX DRV_NAME ": " 45#define PFX DRV_NAME ": "
diff --git a/drivers/watchdog/alim7101_wdt.c b/drivers/watchdog/alim7101_wdt.c
index 46f4b85b46de..486841895e9f 100644
--- a/drivers/watchdog/alim7101_wdt.c
+++ b/drivers/watchdog/alim7101_wdt.c
@@ -34,7 +34,6 @@
34#include <linux/io.h> 34#include <linux/io.h>
35#include <linux/uaccess.h> 35#include <linux/uaccess.h>
36 36
37#include <asm/system.h>
38 37
39#define OUR_NAME "alim7101_wdt" 38#define OUR_NAME "alim7101_wdt"
40#define PFX OUR_NAME ": " 39#define PFX OUR_NAME ": "
diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
index 7c0fdfca2646..3a76e1950cdc 100644
--- a/drivers/watchdog/booke_wdt.c
+++ b/drivers/watchdog/booke_wdt.c
@@ -21,7 +21,6 @@
21#include <linux/uaccess.h> 21#include <linux/uaccess.h>
22 22
23#include <asm/reg_booke.h> 23#include <asm/reg_booke.h>
24#include <asm/system.h>
25#include <asm/time.h> 24#include <asm/time.h>
26#include <asm/div64.h> 25#include <asm/div64.h>
27 26
diff --git a/drivers/watchdog/eurotechwdt.c b/drivers/watchdog/eurotechwdt.c
index 3946c51099c0..f507fe7d5dc3 100644
--- a/drivers/watchdog/eurotechwdt.c
+++ b/drivers/watchdog/eurotechwdt.c
@@ -59,7 +59,6 @@
59#include <linux/io.h> 59#include <linux/io.h>
60#include <linux/uaccess.h> 60#include <linux/uaccess.h>
61 61
62#include <asm/system.h>
63 62
64static unsigned long eurwdt_is_open; 63static unsigned long eurwdt_is_open;
65static int eurwdt_timeout; 64static int eurwdt_timeout;
diff --git a/drivers/watchdog/ib700wdt.c b/drivers/watchdog/ib700wdt.c
index 0149d8dfc81d..9402c0b2d557 100644
--- a/drivers/watchdog/ib700wdt.c
+++ b/drivers/watchdog/ib700wdt.c
@@ -44,7 +44,6 @@
44#include <linux/io.h> 44#include <linux/io.h>
45#include <linux/uaccess.h> 45#include <linux/uaccess.h>
46 46
47#include <asm/system.h>
48 47
49static struct platform_device *ibwdt_platform_device; 48static struct platform_device *ibwdt_platform_device;
50static unsigned long ibwdt_is_open; 49static unsigned long ibwdt_is_open;
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index a2d9a1266a23..d761c41a9f3d 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -43,7 +43,6 @@
43#include <linux/uaccess.h> 43#include <linux/uaccess.h>
44#include <linux/io.h> 44#include <linux/io.h>
45 45
46#include <asm/system.h>
47 46
48#define WATCHDOG_VERSION "1.14" 47#define WATCHDOG_VERSION "1.14"
49#define WATCHDOG_NAME "IT87 WDT" 48#define WATCHDOG_NAME "IT87 WDT"
diff --git a/drivers/watchdog/machzwd.c b/drivers/watchdog/machzwd.c
index 1332b838cc58..b536111d53bf 100644
--- a/drivers/watchdog/machzwd.c
+++ b/drivers/watchdog/machzwd.c
@@ -43,7 +43,6 @@
43#include <linux/io.h> 43#include <linux/io.h>
44#include <linux/uaccess.h> 44#include <linux/uaccess.h>
45 45
46#include <asm/system.h>
47 46
48/* ports */ 47/* ports */
49#define ZF_IOBASE 0x218 48#define ZF_IOBASE 0x218
diff --git a/drivers/watchdog/pc87413_wdt.c b/drivers/watchdog/pc87413_wdt.c
index e78d89986768..669e5624c997 100644
--- a/drivers/watchdog/pc87413_wdt.c
+++ b/drivers/watchdog/pc87413_wdt.c
@@ -33,7 +33,6 @@
33#include <linux/io.h> 33#include <linux/io.h>
34#include <linux/uaccess.h> 34#include <linux/uaccess.h>
35 35
36#include <asm/system.h>
37 36
38/* #define DEBUG 1 */ 37/* #define DEBUG 1 */
39 38
diff --git a/drivers/watchdog/sbc60xxwdt.c b/drivers/watchdog/sbc60xxwdt.c
index 626d0e8e56c3..4b53756542fe 100644
--- a/drivers/watchdog/sbc60xxwdt.c
+++ b/drivers/watchdog/sbc60xxwdt.c
@@ -63,7 +63,6 @@
63#include <linux/io.h> 63#include <linux/io.h>
64#include <linux/uaccess.h> 64#include <linux/uaccess.h>
65 65
66#include <asm/system.h>
67 66
68#define OUR_NAME "sbc60xxwdt" 67#define OUR_NAME "sbc60xxwdt"
69#define PFX OUR_NAME ": " 68#define PFX OUR_NAME ": "
diff --git a/drivers/watchdog/sbc7240_wdt.c b/drivers/watchdog/sbc7240_wdt.c
index 93ac58953122..80f39a357de3 100644
--- a/drivers/watchdog/sbc7240_wdt.c
+++ b/drivers/watchdog/sbc7240_wdt.c
@@ -30,7 +30,6 @@
30#include <linux/io.h> 30#include <linux/io.h>
31#include <linux/uaccess.h> 31#include <linux/uaccess.h>
32#include <linux/atomic.h> 32#include <linux/atomic.h>
33#include <asm/system.h>
34 33
35#define SBC7240_PREFIX "sbc7240_wdt: " 34#define SBC7240_PREFIX "sbc7240_wdt: "
36 35
diff --git a/drivers/watchdog/sbc8360.c b/drivers/watchdog/sbc8360.c
index 514ec23050f7..7c242bc258c8 100644
--- a/drivers/watchdog/sbc8360.c
+++ b/drivers/watchdog/sbc8360.c
@@ -51,7 +51,6 @@
51#include <linux/io.h> 51#include <linux/io.h>
52#include <linux/uaccess.h> 52#include <linux/uaccess.h>
53 53
54#include <asm/system.h>
55 54
56static unsigned long sbc8360_is_open; 55static unsigned long sbc8360_is_open;
57static char expect_close; 56static char expect_close;
diff --git a/drivers/watchdog/sbc_fitpc2_wdt.c b/drivers/watchdog/sbc_fitpc2_wdt.c
index d5d399464599..07d59b33c48b 100644
--- a/drivers/watchdog/sbc_fitpc2_wdt.c
+++ b/drivers/watchdog/sbc_fitpc2_wdt.c
@@ -25,7 +25,6 @@
25#include <linux/io.h> 25#include <linux/io.h>
26#include <linux/uaccess.h> 26#include <linux/uaccess.h>
27 27
28#include <asm/system.h>
29 28
30static int nowayout = WATCHDOG_NOWAYOUT; 29static int nowayout = WATCHDOG_NOWAYOUT;
31static unsigned int margin = 60; /* (secs) Default is 1 minute */ 30static unsigned int margin = 60; /* (secs) Default is 1 minute */
diff --git a/drivers/watchdog/sc520_wdt.c b/drivers/watchdog/sc520_wdt.c
index b2840409ebc7..c794803e7089 100644
--- a/drivers/watchdog/sc520_wdt.c
+++ b/drivers/watchdog/sc520_wdt.c
@@ -67,7 +67,6 @@
67#include <linux/io.h> 67#include <linux/io.h>
68#include <linux/uaccess.h> 68#include <linux/uaccess.h>
69 69
70#include <asm/system.h>
71 70
72#define OUR_NAME "sc520_wdt" 71#define OUR_NAME "sc520_wdt"
73#define PFX OUR_NAME ": " 72#define PFX OUR_NAME ": "
diff --git a/drivers/watchdog/smsc37b787_wdt.c b/drivers/watchdog/smsc37b787_wdt.c
index 97b8184614ae..16365d093b3d 100644
--- a/drivers/watchdog/smsc37b787_wdt.c
+++ b/drivers/watchdog/smsc37b787_wdt.c
@@ -58,7 +58,6 @@
58#include <linux/io.h> 58#include <linux/io.h>
59#include <linux/uaccess.h> 59#include <linux/uaccess.h>
60 60
61#include <asm/system.h>
62 61
63/* enable support for minutes as units? */ 62/* enable support for minutes as units? */
64/* (does not always work correctly, so disabled by default!) */ 63/* (does not always work correctly, so disabled by default!) */
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog/w83627hf_wdt.c
index 576a388a1164..1283d0671c70 100644
--- a/drivers/watchdog/w83627hf_wdt.c
+++ b/drivers/watchdog/w83627hf_wdt.c
@@ -40,7 +40,6 @@
40#include <linux/io.h> 40#include <linux/io.h>
41#include <linux/uaccess.h> 41#include <linux/uaccess.h>
42 42
43#include <asm/system.h>
44 43
45#define WATCHDOG_NAME "w83627hf/thf/hg/dhg WDT" 44#define WATCHDOG_NAME "w83627hf/thf/hg/dhg WDT"
46#define PFX WATCHDOG_NAME ": " 45#define PFX WATCHDOG_NAME ": "
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
index af08972de506..e5cb768f5b56 100644
--- a/drivers/watchdog/w83697hf_wdt.c
+++ b/drivers/watchdog/w83697hf_wdt.c
@@ -39,7 +39,6 @@
39#include <linux/io.h> 39#include <linux/io.h>
40#include <linux/uaccess.h> 40#include <linux/uaccess.h>
41 41
42#include <asm/system.h>
43 42
44#define WATCHDOG_NAME "w83697hf/hg WDT" 43#define WATCHDOG_NAME "w83697hf/hg WDT"
45#define PFX WATCHDOG_NAME ": " 44#define PFX WATCHDOG_NAME ": "
diff --git a/drivers/watchdog/w83697ug_wdt.c b/drivers/watchdog/w83697ug_wdt.c
index be9c4d839e15..24a46ff62a35 100644
--- a/drivers/watchdog/w83697ug_wdt.c
+++ b/drivers/watchdog/w83697ug_wdt.c
@@ -44,7 +44,6 @@
44#include <linux/io.h> 44#include <linux/io.h>
45#include <linux/uaccess.h> 45#include <linux/uaccess.h>
46 46
47#include <asm/system.h>
48 47
49#define WATCHDOG_NAME "w83697ug/uf WDT" 48#define WATCHDOG_NAME "w83697ug/uf WDT"
50#define PFX WATCHDOG_NAME ": " 49#define PFX WATCHDOG_NAME ": "
diff --git a/drivers/watchdog/w83877f_wdt.c b/drivers/watchdog/w83877f_wdt.c
index 24587d2060c4..5f3b9455f294 100644
--- a/drivers/watchdog/w83877f_wdt.c
+++ b/drivers/watchdog/w83877f_wdt.c
@@ -56,7 +56,6 @@
56#include <linux/init.h> 56#include <linux/init.h>
57#include <linux/io.h> 57#include <linux/io.h>
58#include <linux/uaccess.h> 58#include <linux/uaccess.h>
59#include <asm/system.h>
60 59
61#define OUR_NAME "w83877f_wdt" 60#define OUR_NAME "w83877f_wdt"
62#define PFX OUR_NAME ": " 61#define PFX OUR_NAME ": "
diff --git a/drivers/watchdog/w83977f_wdt.c b/drivers/watchdog/w83977f_wdt.c
index 6e6743d1066f..7f4330ea5ae8 100644
--- a/drivers/watchdog/w83977f_wdt.c
+++ b/drivers/watchdog/w83977f_wdt.c
@@ -29,7 +29,6 @@
29#include <linux/uaccess.h> 29#include <linux/uaccess.h>
30#include <linux/io.h> 30#include <linux/io.h>
31 31
32#include <asm/system.h>
33 32
34#define WATCHDOG_VERSION "1.00" 33#define WATCHDOG_VERSION "1.00"
35#define WATCHDOG_NAME "W83977F WDT" 34#define WATCHDOG_NAME "W83977F WDT"
diff --git a/drivers/watchdog/wdt.c b/drivers/watchdog/wdt.c
index d2ef002be96b..f3026cd49e6f 100644
--- a/drivers/watchdog/wdt.c
+++ b/drivers/watchdog/wdt.c
@@ -46,7 +46,6 @@
46#include <linux/io.h> 46#include <linux/io.h>
47#include <linux/uaccess.h> 47#include <linux/uaccess.h>
48 48
49#include <asm/system.h>
50#include "wd501p.h" 49#include "wd501p.h"
51 50
52static unsigned long wdt_is_open; 51static unsigned long wdt_is_open;
diff --git a/drivers/watchdog/wdt977.c b/drivers/watchdog/wdt977.c
index a2f01c9f5c34..855bb0f0717d 100644
--- a/drivers/watchdog/wdt977.c
+++ b/drivers/watchdog/wdt977.c
@@ -37,7 +37,6 @@
37#include <linux/io.h> 37#include <linux/io.h>
38#include <linux/uaccess.h> 38#include <linux/uaccess.h>
39 39
40#include <asm/system.h>
41#include <asm/mach-types.h> 40#include <asm/mach-types.h>
42 41
43#define WATCHDOG_VERSION "0.04" 42#define WATCHDOG_VERSION "0.04"
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
index e0fc3baa9197..fae256715616 100644
--- a/drivers/watchdog/wdt_pci.c
+++ b/drivers/watchdog/wdt_pci.c
@@ -53,7 +53,6 @@
53#include <linux/io.h> 53#include <linux/io.h>
54#include <linux/uaccess.h> 54#include <linux/uaccess.h>
55 55
56#include <asm/system.h>
57 56
58#define WDT_IS_PCI 57#define WDT_IS_PCI
59#include "wd501p.h" 58#include "wd501p.h"