diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2014-01-02 19:23:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-07 20:05:21 -0500 |
commit | f8e87cb4a19aa5f5a1ce22e130da0f4a7fa2d5f3 (patch) | |
tree | f3ba0ca8e995ab7045000f74bad713987e8cd1ba | |
parent | b86b75ec57c381f32090a5bc61252f84f955c094 (diff) |
tty: delete non-required instances of include <linux/init.h>
None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>. Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/goldfish.c | 1 | ||||
-rw-r--r-- | drivers/tty/hvc/hvsi_lib.c | 1 | ||||
-rw-r--r-- | drivers/tty/ipwireless/tty.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_dw.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_em.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_pci.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/8250/8250_pnp.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/8250/serial_cs.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/kgdb_nmi.c | 1 | ||||
-rw-r--r-- | drivers/tty/serial/of_serial.c | 1 | ||||
-rw-r--r-- | drivers/tty/tty_buffer.c | 1 | ||||
-rw-r--r-- | drivers/tty/tty_ldisc.c | 1 | ||||
-rw-r--r-- | drivers/tty/tty_port.c | 1 |
15 files changed, 0 insertions, 15 deletions
diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index f17d2e4ee2ca..75dc9d25f326 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c | |||
@@ -14,7 +14,6 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/console.h> | 16 | #include <linux/console.h> |
17 | #include <linux/init.h> | ||
18 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
19 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
20 | #include <linux/tty.h> | 19 | #include <linux/tty.h> |
diff --git a/drivers/tty/hvc/hvsi_lib.c b/drivers/tty/hvc/hvsi_lib.c index 347050ea414a..7ae6c293e518 100644 --- a/drivers/tty/hvc/hvsi_lib.c +++ b/drivers/tty/hvc/hvsi_lib.c | |||
@@ -1,5 +1,4 @@ | |||
1 | #include <linux/types.h> | 1 | #include <linux/types.h> |
2 | #include <linux/init.h> | ||
3 | #include <linux/delay.h> | 2 | #include <linux/delay.h> |
4 | #include <linux/slab.h> | 3 | #include <linux/slab.h> |
5 | #include <linux/console.h> | 4 | #include <linux/console.h> |
diff --git a/drivers/tty/ipwireless/tty.c b/drivers/tty/ipwireless/tty.c index 8fd72ff9436e..ebd5bff0f5c1 100644 --- a/drivers/tty/ipwireless/tty.c +++ b/drivers/tty/ipwireless/tty.c | |||
@@ -15,7 +15,6 @@ | |||
15 | * Copyright (C) 2007 David Sterba | 15 | * Copyright (C) 2007 David Sterba |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <linux/init.h> | ||
19 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
20 | #include <linux/module.h> | 19 | #include <linux/module.h> |
21 | #include <linux/mutex.h> | 20 | #include <linux/mutex.h> |
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index aa3027130d68..faa64e646100 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -14,7 +14,6 @@ | |||
14 | * raised, the LCR needs to be rewritten and the uart status register read. | 14 | * raised, the LCR needs to be rewritten and the uart status register read. |
15 | */ | 15 | */ |
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/init.h> | ||
18 | #include <linux/io.h> | 17 | #include <linux/io.h> |
19 | #include <linux/module.h> | 18 | #include <linux/module.h> |
20 | #include <linux/serial_8250.h> | 19 | #include <linux/serial_8250.h> |
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index d1a9078003bd..56c87232b6a0 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/device.h> | 20 | #include <linux/device.h> |
21 | #include <linux/init.h> | ||
22 | #include <linux/io.h> | 21 | #include <linux/io.h> |
23 | #include <linux/module.h> | 22 | #include <linux/module.h> |
24 | #include <linux/serial_8250.h> | 23 | #include <linux/serial_8250.h> |
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 77d0aca9050a..50228eed3b6f 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c | |||
@@ -11,7 +11,6 @@ | |||
11 | */ | 11 | */ |
12 | #undef DEBUG | 12 | #undef DEBUG |
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/init.h> | ||
15 | #include <linux/pci.h> | 14 | #include <linux/pci.h> |
16 | #include <linux/string.h> | 15 | #include <linux/string.h> |
17 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c index 35d9ab95c5cb..682a2fbe5c06 100644 --- a/drivers/tty/serial/8250/8250_pnp.c +++ b/drivers/tty/serial/8250/8250_pnp.c | |||
@@ -12,7 +12,6 @@ | |||
12 | * the Free Software Foundation; either version 2 of the License. | 12 | * the Free Software Foundation; either version 2 of the License. |
13 | */ | 13 | */ |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/init.h> | ||
16 | #include <linux/pci.h> | 15 | #include <linux/pci.h> |
17 | #include <linux/pnp.h> | 16 | #include <linux/pnp.h> |
18 | #include <linux/string.h> | 17 | #include <linux/string.h> |
diff --git a/drivers/tty/serial/8250/serial_cs.c b/drivers/tty/serial/8250/serial_cs.c index 1b74b88e1e1e..4d180c9423ef 100644 --- a/drivers/tty/serial/8250/serial_cs.c +++ b/drivers/tty/serial/8250/serial_cs.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/module.h> | 34 | #include <linux/module.h> |
35 | #include <linux/moduleparam.h> | 35 | #include <linux/moduleparam.h> |
36 | #include <linux/kernel.h> | 36 | #include <linux/kernel.h> |
37 | #include <linux/init.h> | ||
38 | #include <linux/ptrace.h> | 37 | #include <linux/ptrace.h> |
39 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
40 | #include <linux/string.h> | 39 | #include <linux/string.h> |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c index 527a969b0952..6d3b22e93246 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm1.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/tty.h> | 29 | #include <linux/tty.h> |
30 | #include <linux/gfp.h> | 30 | #include <linux/gfp.h> |
31 | #include <linux/ioport.h> | 31 | #include <linux/ioport.h> |
32 | #include <linux/init.h> | ||
33 | #include <linux/serial.h> | 32 | #include <linux/serial.h> |
34 | #include <linux/console.h> | 33 | #include <linux/console.h> |
35 | #include <linux/sysrq.h> | 34 | #include <linux/sysrq.h> |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c b/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c index a4927e66e741..f46d2ca87209 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/tty.h> | 29 | #include <linux/tty.h> |
30 | #include <linux/ioport.h> | 30 | #include <linux/ioport.h> |
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/init.h> | ||
33 | #include <linux/serial.h> | 32 | #include <linux/serial.h> |
34 | #include <linux/console.h> | 33 | #include <linux/console.h> |
35 | #include <linux/sysrq.h> | 34 | #include <linux/sysrq.h> |
diff --git a/drivers/tty/serial/kgdb_nmi.c b/drivers/tty/serial/kgdb_nmi.c index 5dafcf1c227b..5f673b7ca50e 100644 --- a/drivers/tty/serial/kgdb_nmi.c +++ b/drivers/tty/serial/kgdb_nmi.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/module.h> | 16 | #include <linux/module.h> |
17 | #include <linux/compiler.h> | 17 | #include <linux/compiler.h> |
18 | #include <linux/init.h> | ||
19 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
20 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
21 | #include <linux/atomic.h> | 20 | #include <linux/atomic.h> |
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index 2caf9c6f6149..99246606a256 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * 2 of the License, or (at your option) any later version. | 9 | * 2 of the License, or (at your option) any later version. |
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | #include <linux/init.h> | ||
13 | #include <linux/module.h> | 12 | #include <linux/module.h> |
14 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
15 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 3002e20e10d7..765125dff20e 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/init.h> | ||
15 | #include <linux/wait.h> | 14 | #include <linux/wait.h> |
16 | #include <linux/bitops.h> | 15 | #include <linux/bitops.h> |
17 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 6458e11e8e9d..2d822aa259b2 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c | |||
@@ -11,7 +11,6 @@ | |||
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <linux/poll.h> | 12 | #include <linux/poll.h> |
13 | #include <linux/proc_fs.h> | 13 | #include <linux/proc_fs.h> |
14 | #include <linux/init.h> | ||
15 | #include <linux/module.h> | 14 | #include <linux/module.h> |
16 | #include <linux/device.h> | 15 | #include <linux/device.h> |
17 | #include <linux/wait.h> | 16 | #include <linux/wait.h> |
diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index c94d2349dd06..3f746c8eb0dd 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/string.h> | 12 | #include <linux/string.h> |
13 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
14 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
15 | #include <linux/init.h> | ||
16 | #include <linux/wait.h> | 15 | #include <linux/wait.h> |
17 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
18 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |