diff options
Diffstat (limited to 'arch/mips/emma2rh')
-rw-r--r-- | arch/mips/emma2rh/common/irq.c | 1 | ||||
-rw-r--r-- | arch/mips/emma2rh/common/irq_emma2rh.c | 2 | ||||
-rw-r--r-- | arch/mips/emma2rh/common/prom.c | 1 | ||||
-rw-r--r-- | arch/mips/emma2rh/markeins/irq.c | 1 | ||||
-rw-r--r-- | arch/mips/emma2rh/markeins/irq_markeins.c | 4 | ||||
-rw-r--r-- | arch/mips/emma2rh/markeins/platform.c | 1 | ||||
-rw-r--r-- | arch/mips/emma2rh/markeins/setup.c | 4 |
7 files changed, 4 insertions, 10 deletions
diff --git a/arch/mips/emma2rh/common/irq.c b/arch/mips/emma2rh/common/irq.c index b075281e50e9..3af57693c84c 100644 --- a/arch/mips/emma2rh/common/irq.c +++ b/arch/mips/emma2rh/common/irq.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * along with this program; if not, write to the Free Software | 22 | * along with this program; if not, write to the Free Software |
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | #include <linux/config.h> | ||
26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
27 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
28 | #include <linux/irq.h> | 27 | #include <linux/irq.h> |
diff --git a/arch/mips/emma2rh/common/irq_emma2rh.c b/arch/mips/emma2rh/common/irq_emma2rh.c index b886aa94ca90..7c930860c921 100644 --- a/arch/mips/emma2rh/common/irq_emma2rh.c +++ b/arch/mips/emma2rh/common/irq_emma2rh.c | |||
@@ -78,7 +78,7 @@ static void emma2rh_irq_end(unsigned int irq) | |||
78 | ll_emma2rh_irq_enable(irq - emma2rh_irq_base); | 78 | ll_emma2rh_irq_enable(irq - emma2rh_irq_base); |
79 | } | 79 | } |
80 | 80 | ||
81 | hw_irq_controller emma2rh_irq_controller = { | 81 | struct irq_chip emma2rh_irq_controller = { |
82 | .typename = "emma2rh_irq", | 82 | .typename = "emma2rh_irq", |
83 | .startup = emma2rh_irq_startup, | 83 | .startup = emma2rh_irq_startup, |
84 | .shutdown = emma2rh_irq_shutdown, | 84 | .shutdown = emma2rh_irq_shutdown, |
diff --git a/arch/mips/emma2rh/common/prom.c b/arch/mips/emma2rh/common/prom.c index 8bba0b02a204..7433bd8e5562 100644 --- a/arch/mips/emma2rh/common/prom.c +++ b/arch/mips/emma2rh/common/prom.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * along with this program; if not, write to the Free Software | 22 | * along with this program; if not, write to the Free Software |
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | #include <linux/config.h> | ||
26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
27 | #include <linux/mm.h> | 26 | #include <linux/mm.h> |
28 | #include <linux/sched.h> | 27 | #include <linux/sched.h> |
diff --git a/arch/mips/emma2rh/markeins/irq.c b/arch/mips/emma2rh/markeins/irq.c index 76dc3faeaf4e..2a736be42c8c 100644 --- a/arch/mips/emma2rh/markeins/irq.c +++ b/arch/mips/emma2rh/markeins/irq.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * along with this program; if not, write to the Free Software | 22 | * along with this program; if not, write to the Free Software |
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | #include <linux/config.h> | ||
26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
27 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
28 | #include <linux/irq.h> | 27 | #include <linux/irq.h> |
diff --git a/arch/mips/emma2rh/markeins/irq_markeins.c b/arch/mips/emma2rh/markeins/irq_markeins.c index 1783fdab6459..f23ae9fcffa0 100644 --- a/arch/mips/emma2rh/markeins/irq_markeins.c +++ b/arch/mips/emma2rh/markeins/irq_markeins.c | |||
@@ -67,7 +67,7 @@ static void emma2rh_sw_irq_end(unsigned int irq) | |||
67 | ll_emma2rh_sw_irq_enable(irq - emma2rh_sw_irq_base); | 67 | ll_emma2rh_sw_irq_enable(irq - emma2rh_sw_irq_base); |
68 | } | 68 | } |
69 | 69 | ||
70 | hw_irq_controller emma2rh_sw_irq_controller = { | 70 | struct irq_chip emma2rh_sw_irq_controller = { |
71 | .typename = "emma2rh_sw_irq", | 71 | .typename = "emma2rh_sw_irq", |
72 | .startup = emma2rh_sw_irq_startup, | 72 | .startup = emma2rh_sw_irq_startup, |
73 | .shutdown = emma2rh_sw_irq_shutdown, | 73 | .shutdown = emma2rh_sw_irq_shutdown, |
@@ -147,7 +147,7 @@ static void emma2rh_gpio_irq_end(unsigned int irq) | |||
147 | ll_emma2rh_gpio_irq_enable(irq - emma2rh_gpio_irq_base); | 147 | ll_emma2rh_gpio_irq_enable(irq - emma2rh_gpio_irq_base); |
148 | } | 148 | } |
149 | 149 | ||
150 | hw_irq_controller emma2rh_gpio_irq_controller = { | 150 | struct irq_chip emma2rh_gpio_irq_controller = { |
151 | .typename = "emma2rh_gpio_irq", | 151 | .typename = "emma2rh_gpio_irq", |
152 | .startup = emma2rh_gpio_irq_startup, | 152 | .startup = emma2rh_gpio_irq_startup, |
153 | .shutdown = emma2rh_gpio_irq_shutdown, | 153 | .shutdown = emma2rh_gpio_irq_shutdown, |
diff --git a/arch/mips/emma2rh/markeins/platform.c b/arch/mips/emma2rh/markeins/platform.c index 6c1eeae1a898..15cc61df3622 100644 --- a/arch/mips/emma2rh/markeins/platform.c +++ b/arch/mips/emma2rh/markeins/platform.c | |||
@@ -20,7 +20,6 @@ | |||
20 | * along with this program; if not, write to the Free Software | 20 | * along with this program; if not, write to the Free Software |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | */ | 22 | */ |
23 | #include <linux/config.h> | ||
24 | #include <linux/init.h> | 23 | #include <linux/init.h> |
25 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
26 | #include <linux/types.h> | 25 | #include <linux/types.h> |
diff --git a/arch/mips/emma2rh/markeins/setup.c b/arch/mips/emma2rh/markeins/setup.c index 7d98fdbf8390..b29a44739230 100644 --- a/arch/mips/emma2rh/markeins/setup.c +++ b/arch/mips/emma2rh/markeins/setup.c | |||
@@ -22,7 +22,6 @@ | |||
22 | * along with this program; if not, write to the Free Software | 22 | * along with this program; if not, write to the Free Software |
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | #include <linux/config.h> | ||
26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
27 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
28 | #include <linux/types.h> | 27 | #include <linux/types.h> |
@@ -105,7 +104,7 @@ static void __init emma2rh_time_init(void) | |||
105 | mips_hpt_frequency = (bus_frequency * (4 + reg)) / 4 / 2; | 104 | mips_hpt_frequency = (bus_frequency * (4 + reg)) / 4 / 2; |
106 | } | 105 | } |
107 | 106 | ||
108 | static void __init emma2rh_timer_setup(struct irqaction *irq) | 107 | void __init plat_timer_setup(struct irqaction *irq) |
109 | { | 108 | { |
110 | /* we are using the cpu counter for timer interrupts */ | 109 | /* we are using the cpu counter for timer interrupts */ |
111 | setup_irq(CPU_IRQ_BASE + 7, irq); | 110 | setup_irq(CPU_IRQ_BASE + 7, irq); |
@@ -150,7 +149,6 @@ void __init plat_mem_setup(void) | |||
150 | set_io_port_base(KSEG1ADDR(EMMA2RH_PCI_IO_BASE)); | 149 | set_io_port_base(KSEG1ADDR(EMMA2RH_PCI_IO_BASE)); |
151 | 150 | ||
152 | board_time_init = emma2rh_time_init; | 151 | board_time_init = emma2rh_time_init; |
153 | board_timer_setup = emma2rh_timer_setup; | ||
154 | 152 | ||
155 | _machine_restart = markeins_machine_restart; | 153 | _machine_restart = markeins_machine_restart; |
156 | _machine_halt = markeins_machine_halt; | 154 | _machine_halt = markeins_machine_halt; |