aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/rbtx4927/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/txx9/rbtx4927/setup.c')
-rw-r--r--arch/mips/txx9/rbtx4927/setup.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/mips/txx9/rbtx4927/setup.c b/arch/mips/txx9/rbtx4927/setup.c
index aba11f376a51..1657fd935da8 100644
--- a/arch/mips/txx9/rbtx4927/setup.c
+++ b/arch/mips/txx9/rbtx4927/setup.c
@@ -50,8 +50,6 @@
50#include <linux/pm.h> 50#include <linux/pm.h>
51#include <linux/platform_device.h> 51#include <linux/platform_device.h>
52#include <linux/delay.h> 52#include <linux/delay.h>
53
54#include <asm/bootinfo.h>
55#include <asm/io.h> 53#include <asm/io.h>
56#include <asm/processor.h> 54#include <asm/processor.h>
57#include <asm/reboot.h> 55#include <asm/reboot.h>
@@ -65,14 +63,6 @@
65#include <linux/serial_core.h> 63#include <linux/serial_core.h>
66#endif 64#endif
67 65
68/* These functions are used for rebooting or halting the machine*/
69extern void toshiba_rbtx4927_restart(char *command);
70extern void toshiba_rbtx4927_halt(void);
71extern void toshiba_rbtx4927_power_off(void);
72extern void toshiba_rbtx4927_irq_setup(void);
73
74char *prom_getcmdline(void);
75
76static int tx4927_ccfg_toeon = 1; 66static int tx4927_ccfg_toeon = 1;
77 67
78#ifdef CONFIG_PCI 68#ifdef CONFIG_PCI
@@ -189,7 +179,7 @@ static void __noreturn wait_forever(void)
189 (*cpu_wait)(); 179 (*cpu_wait)();
190} 180}
191 181
192void toshiba_rbtx4927_restart(char *command) 182static void toshiba_rbtx4927_restart(char *command)
193{ 183{
194 printk(KERN_NOTICE "System Rebooting...\n"); 184 printk(KERN_NOTICE "System Rebooting...\n");
195 185
@@ -209,7 +199,7 @@ void toshiba_rbtx4927_restart(char *command)
209 /* no return */ 199 /* no return */
210} 200}
211 201
212void toshiba_rbtx4927_halt(void) 202static void toshiba_rbtx4927_halt(void)
213{ 203{
214 printk(KERN_NOTICE "System Halted\n"); 204 printk(KERN_NOTICE "System Halted\n");
215 local_irq_disable(); 205 local_irq_disable();
@@ -217,7 +207,7 @@ void toshiba_rbtx4927_halt(void)
217 /* no return */ 207 /* no return */
218} 208}
219 209
220void toshiba_rbtx4927_power_off(void) 210static void toshiba_rbtx4927_power_off(void)
221{ 211{
222 toshiba_rbtx4927_halt(); 212 toshiba_rbtx4927_halt();
223 /* no return */ 213 /* no return */