aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/hp6xx/hp6xx_apm.c1
-rw-r--r--arch/sh/boards/hp6xx/pm.c1
-rw-r--r--arch/sh/boards/landisk/irq.c4
-rw-r--r--arch/sh/boards/landisk/landisk_pwb.c2
-rw-r--r--arch/sh/boards/landisk/rtc.c2
-rw-r--r--arch/sh/boards/landisk/setup.c1
-rw-r--r--arch/sh/boards/renesas/r7780rp/irq.c4
-rw-r--r--arch/sh/boards/renesas/r7780rp/led.c2
-rw-r--r--arch/sh/boards/renesas/systemh/setup.c2
-rw-r--r--arch/sh/boards/se/7343/io.c2
-rw-r--r--arch/sh/boards/se/7343/irq.c4
-rw-r--r--arch/sh/boards/se/7343/led.c2
-rw-r--r--arch/sh/boards/se/7343/setup.c1
-rw-r--r--arch/sh/boards/se/770x/setup.c7
-rw-r--r--arch/sh/boards/se/7751/setup.c6
-rw-r--r--arch/sh/boards/sh03/setup.c1
16 files changed, 9 insertions, 33 deletions
diff --git a/arch/sh/boards/hp6xx/hp6xx_apm.c b/arch/sh/boards/hp6xx/hp6xx_apm.c
index ad0e712c29f6..75f91aaae077 100644
--- a/arch/sh/boards/hp6xx/hp6xx_apm.c
+++ b/arch/sh/boards/hp6xx/hp6xx_apm.c
@@ -6,7 +6,6 @@
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License. 7 * modify it under the terms of the GNU General Public License.
8 */ 8 */
9#include <linux/config.h>
10#include <linux/module.h> 9#include <linux/module.h>
11#include <linux/apm_bios.h> 10#include <linux/apm_bios.h>
12#include <linux/kernel.h> 11#include <linux/kernel.h>
diff --git a/arch/sh/boards/hp6xx/pm.c b/arch/sh/boards/hp6xx/pm.c
index 0e501bcbd7a9..83d327212064 100644
--- a/arch/sh/boards/hp6xx/pm.c
+++ b/arch/sh/boards/hp6xx/pm.c
@@ -6,7 +6,6 @@
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License. 7 * modify it under the terms of the GNU General Public License.
8 */ 8 */
9#include <linux/config.h>
10#include <linux/init.h> 9#include <linux/init.h>
11#include <linux/suspend.h> 10#include <linux/suspend.h>
12#include <linux/errno.h> 11#include <linux/errno.h>
diff --git a/arch/sh/boards/landisk/irq.c b/arch/sh/boards/landisk/irq.c
index a006d6443225..8f2e1c68b90f 100644
--- a/arch/sh/boards/landisk/irq.c
+++ b/arch/sh/boards/landisk/irq.c
@@ -14,8 +14,6 @@
14 * modified by kogiidena 14 * modified by kogiidena
15 * 2005.03.03 15 * 2005.03.03
16 */ 16 */
17
18#include <linux/config.h>
19#include <linux/init.h> 17#include <linux/init.h>
20#include <linux/irq.h> 18#include <linux/irq.h>
21#include <asm/io.h> 19#include <asm/io.h>
@@ -83,7 +81,7 @@ static struct hw_interrupt_type landisk_irq_type = {
83static void make_landisk_irq(unsigned int irq) 81static void make_landisk_irq(unsigned int irq)
84{ 82{
85 disable_irq_nosync(irq); 83 disable_irq_nosync(irq);
86 irq_desc[irq].handler = &landisk_irq_type; 84 irq_desc[irq].chip = &landisk_irq_type;
87 disable_landisk_irq(irq); 85 disable_landisk_irq(irq);
88} 86}
89 87
diff --git a/arch/sh/boards/landisk/landisk_pwb.c b/arch/sh/boards/landisk/landisk_pwb.c
index e75cb578a28b..0b7bee1a9ca5 100644
--- a/arch/sh/boards/landisk/landisk_pwb.c
+++ b/arch/sh/boards/landisk/landisk_pwb.c
@@ -11,8 +11,6 @@
11 * 11 *
12 * LED control drive function added by kogiidena 12 * LED control drive function added by kogiidena
13 */ 13 */
14
15#include <linux/config.h>
16#include <linux/module.h> 14#include <linux/module.h>
17#include <linux/errno.h> 15#include <linux/errno.h>
18#include <linux/signal.h> 16#include <linux/signal.h>
diff --git a/arch/sh/boards/landisk/rtc.c b/arch/sh/boards/landisk/rtc.c
index 35ba726a0979..0a9a2a2ad05b 100644
--- a/arch/sh/boards/landisk/rtc.c
+++ b/arch/sh/boards/landisk/rtc.c
@@ -8,8 +8,6 @@
8 * modifed by kogiidena 8 * modifed by kogiidena
9 * 2005.09.16 9 * 2005.09.16
10 */ 10 */
11
12#include <linux/config.h>
13#include <linux/init.h> 11#include <linux/init.h>
14#include <linux/kernel.h> 12#include <linux/kernel.h>
15#include <linux/sched.h> 13#include <linux/sched.h>
diff --git a/arch/sh/boards/landisk/setup.c b/arch/sh/boards/landisk/setup.c
index 127b9e020e00..122d69962637 100644
--- a/arch/sh/boards/landisk/setup.c
+++ b/arch/sh/boards/landisk/setup.c
@@ -16,7 +16,6 @@
16 * License. See the file "COPYING" in the main directory of this archive 16 * License. See the file "COPYING" in the main directory of this archive
17 * for more details. 17 * for more details.
18 */ 18 */
19#include <linux/config.h>
20#include <linux/init.h> 19#include <linux/init.h>
21#include <linux/pm.h> 20#include <linux/pm.h>
22#include <linux/mm.h> 21#include <linux/mm.h>
diff --git a/arch/sh/boards/renesas/r7780rp/irq.c b/arch/sh/boards/renesas/r7780rp/irq.c
index 61d5e5d3c294..2d960e9a3143 100644
--- a/arch/sh/boards/renesas/r7780rp/irq.c
+++ b/arch/sh/boards/renesas/r7780rp/irq.c
@@ -8,8 +8,6 @@
8 * Modified for R7780RP-1 by 8 * Modified for R7780RP-1 by
9 * Atom Create Engineering Co., Ltd. 2002. 9 * Atom Create Engineering Co., Ltd. 2002.
10 */ 10 */
11
12#include <linux/config.h>
13#include <linux/init.h> 11#include <linux/init.h>
14#include <linux/irq.h> 12#include <linux/irq.h>
15#include <asm/io.h> 13#include <asm/io.h>
@@ -83,7 +81,7 @@ static struct hw_interrupt_type r7780rp_irq_type = {
83static void make_r7780rp_irq(unsigned int irq) 81static void make_r7780rp_irq(unsigned int irq)
84{ 82{
85 disable_irq_nosync(irq); 83 disable_irq_nosync(irq);
86 irq_desc[irq].handler = &r7780rp_irq_type; 84 irq_desc[irq].chip = &r7780rp_irq_type;
87 disable_r7780rp_irq(irq); 85 disable_r7780rp_irq(irq);
88} 86}
89 87
diff --git a/arch/sh/boards/renesas/r7780rp/led.c b/arch/sh/boards/renesas/r7780rp/led.c
index 9f02766b6f53..6a00a257afd2 100644
--- a/arch/sh/boards/renesas/r7780rp/led.c
+++ b/arch/sh/boards/renesas/r7780rp/led.c
@@ -6,8 +6,6 @@
6 * 6 *
7 * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code. 7 * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code.
8 */ 8 */
9
10#include <linux/config.h>
11#include <linux/sched.h> 9#include <linux/sched.h>
12#include <asm/io.h> 10#include <asm/io.h>
13#include <asm/r7780rp/r7780rp.h> 11#include <asm/r7780rp/r7780rp.h>
diff --git a/arch/sh/boards/renesas/systemh/setup.c b/arch/sh/boards/renesas/systemh/setup.c
index a8467bf90c25..bab7d3cdc87b 100644
--- a/arch/sh/boards/renesas/systemh/setup.c
+++ b/arch/sh/boards/renesas/systemh/setup.c
@@ -53,6 +53,6 @@ struct sh_machine_vector mv_7751systemh __initmv = {
53 .mv_outsw = sh7751systemh_outsw, 53 .mv_outsw = sh7751systemh_outsw,
54 .mv_outsl = sh7751systemh_outsl, 54 .mv_outsl = sh7751systemh_outsl,
55 55
56 .mv_init_irq = sh7751system_init_irq, 56 .mv_init_irq = sh7751systemh_init_irq,
57}; 57};
58ALIAS_MV(7751systemh) 58ALIAS_MV(7751systemh)
diff --git a/arch/sh/boards/se/7343/io.c b/arch/sh/boards/se/7343/io.c
index 646661a146ad..3a6d11424938 100644
--- a/arch/sh/boards/se/7343/io.c
+++ b/arch/sh/boards/se/7343/io.c
@@ -4,8 +4,6 @@
4 * I/O routine for SH-Mobile3AS 7343 SolutionEngine. 4 * I/O routine for SH-Mobile3AS 7343 SolutionEngine.
5 * 5 *
6 */ 6 */
7
8#include <linux/config.h>
9#include <linux/kernel.h> 7#include <linux/kernel.h>
10#include <asm/io.h> 8#include <asm/io.h>
11#include <asm/mach/se7343.h> 9#include <asm/mach/se7343.h>
diff --git a/arch/sh/boards/se/7343/irq.c b/arch/sh/boards/se/7343/irq.c
index b41e3d4ea37c..288b62f59419 100644
--- a/arch/sh/boards/se/7343/irq.c
+++ b/arch/sh/boards/se/7343/irq.c
@@ -2,8 +2,6 @@
2 * arch/sh/boards/se/7343/irq.c 2 * arch/sh/boards/se/7343/irq.c
3 * 3 *
4 */ 4 */
5
6#include <linux/config.h>
7#include <linux/init.h> 5#include <linux/init.h>
8#include <linux/interrupt.h> 6#include <linux/interrupt.h>
9#include <linux/irq.h> 7#include <linux/irq.h>
@@ -73,7 +71,7 @@ static void
73make_intreq_irq(unsigned int irq) 71make_intreq_irq(unsigned int irq)
74{ 72{
75 disable_irq_nosync(irq); 73 disable_irq_nosync(irq);
76 irq_desc[irq].handler = &intreq_irq_type; 74 irq_desc[irq].chip = &intreq_irq_type;
77 disable_intreq_irq(irq); 75 disable_intreq_irq(irq);
78} 76}
79 77
diff --git a/arch/sh/boards/se/7343/led.c b/arch/sh/boards/se/7343/led.c
index 6a439cf83e46..6b39e191c420 100644
--- a/arch/sh/boards/se/7343/led.c
+++ b/arch/sh/boards/se/7343/led.c
@@ -2,8 +2,6 @@
2 * arch/sh/boards/se/7343/led.c 2 * arch/sh/boards/se/7343/led.c
3 * 3 *
4 */ 4 */
5
6#include <linux/config.h>
7#include <linux/sched.h> 5#include <linux/sched.h>
8#include <asm/mach/se7343.h> 6#include <asm/mach/se7343.h>
9 7
diff --git a/arch/sh/boards/se/7343/setup.c b/arch/sh/boards/se/7343/setup.c
index 787322291fb3..c7d17fe7764e 100644
--- a/arch/sh/boards/se/7343/setup.c
+++ b/arch/sh/boards/se/7343/setup.c
@@ -1,4 +1,3 @@
1#include <linux/config.h>
2#include <linux/init.h> 1#include <linux/init.h>
3#include <linux/platform_device.h> 2#include <linux/platform_device.h>
4#include <asm/machvec.h> 3#include <asm/machvec.h>
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c
index f3f82b7c8217..a1d51d5fa925 100644
--- a/arch/sh/boards/se/770x/setup.c
+++ b/arch/sh/boards/se/770x/setup.c
@@ -8,13 +8,10 @@
8 * 8 *
9 */ 9 */
10#include <linux/init.h> 10#include <linux/init.h>
11#include <linux/irq.h> 11#include <asm/machvec.h>
12#include <linux/hdreg.h>
13#include <linux/ide.h>
14#include <asm/io.h>
15#include <asm/se.h> 12#include <asm/se.h>
13#include <asm/io.h>
16#include <asm/smc37c93x.h> 14#include <asm/smc37c93x.h>
17#include <asm/machvec.h>
18 15
19void heartbeat_se(void); 16void heartbeat_se(void);
20void init_se_IRQ(void); 17void init_se_IRQ(void);
diff --git a/arch/sh/boards/se/7751/setup.c b/arch/sh/boards/se/7751/setup.c
index 73e826310ba8..f7e1dd39c836 100644
--- a/arch/sh/boards/se/7751/setup.c
+++ b/arch/sh/boards/se/7751/setup.c
@@ -8,12 +8,10 @@
8 * Modified for 7751 Solution Engine by 8 * Modified for 7751 Solution Engine by
9 * Ian da Silva and Jeremy Siegel, 2001. 9 * Ian da Silva and Jeremy Siegel, 2001.
10 */ 10 */
11
12#include <linux/init.h> 11#include <linux/init.h>
13#include <linux/irq.h> 12#include <asm/machvec.h>
14#include <linux/ide.h>
15#include <asm/io.h>
16#include <asm/se7751.h> 13#include <asm/se7751.h>
14#include <asm/io.h>
17 15
18void heartbeat_7751se(void); 16void heartbeat_7751se(void);
19void init_7751se_IRQ(void); 17void init_7751se_IRQ(void);
diff --git a/arch/sh/boards/sh03/setup.c b/arch/sh/boards/sh03/setup.c
index 6c310587ddfe..137e2ba9243e 100644
--- a/arch/sh/boards/sh03/setup.c
+++ b/arch/sh/boards/sh03/setup.c
@@ -7,6 +7,7 @@
7 7
8#include <linux/init.h> 8#include <linux/init.h>
9#include <linux/irq.h> 9#include <linux/irq.h>
10#include <linux/pci.h>
10#include <asm/io.h> 11#include <asm/io.h>
11#include <asm/rtc.h> 12#include <asm/rtc.h>
12#include <asm/sh03/io.h> 13#include <asm/sh03/io.h>