diff options
Diffstat (limited to 'arch/mips/tx4938/common')
-rw-r--r-- | arch/mips/tx4938/common/irq.c | 4 | ||||
-rw-r--r-- | arch/mips/tx4938/common/setup.c | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/arch/mips/tx4938/common/irq.c b/arch/mips/tx4938/common/irq.c index 0b2f8c849218..dc30d66123b6 100644 --- a/arch/mips/tx4938/common/irq.c +++ b/arch/mips/tx4938/common/irq.c | |||
@@ -57,7 +57,7 @@ DEFINE_SPINLOCK(tx4938_cp0_lock); | |||
57 | DEFINE_SPINLOCK(tx4938_pic_lock); | 57 | DEFINE_SPINLOCK(tx4938_pic_lock); |
58 | 58 | ||
59 | #define TX4938_CP0_NAME "TX4938-CP0" | 59 | #define TX4938_CP0_NAME "TX4938-CP0" |
60 | static struct hw_interrupt_type tx4938_irq_cp0_type = { | 60 | static struct irq_chip tx4938_irq_cp0_type = { |
61 | .typename = TX4938_CP0_NAME, | 61 | .typename = TX4938_CP0_NAME, |
62 | .startup = tx4938_irq_cp0_startup, | 62 | .startup = tx4938_irq_cp0_startup, |
63 | .shutdown = tx4938_irq_cp0_shutdown, | 63 | .shutdown = tx4938_irq_cp0_shutdown, |
@@ -69,7 +69,7 @@ static struct hw_interrupt_type tx4938_irq_cp0_type = { | |||
69 | }; | 69 | }; |
70 | 70 | ||
71 | #define TX4938_PIC_NAME "TX4938-PIC" | 71 | #define TX4938_PIC_NAME "TX4938-PIC" |
72 | static struct hw_interrupt_type tx4938_irq_pic_type = { | 72 | static struct irq_chip tx4938_irq_pic_type = { |
73 | .typename = TX4938_PIC_NAME, | 73 | .typename = TX4938_PIC_NAME, |
74 | .startup = tx4938_irq_pic_startup, | 74 | .startup = tx4938_irq_pic_startup, |
75 | .shutdown = tx4938_irq_pic_shutdown, | 75 | .shutdown = tx4938_irq_pic_shutdown, |
diff --git a/arch/mips/tx4938/common/setup.c b/arch/mips/tx4938/common/setup.c index ef59a5cffc69..71859c4fee84 100644 --- a/arch/mips/tx4938/common/setup.c +++ b/arch/mips/tx4938/common/setup.c | |||
@@ -39,7 +39,6 @@ extern void rbtx4938_time_init(void); | |||
39 | 39 | ||
40 | void __init tx4938_setup(void); | 40 | void __init tx4938_setup(void); |
41 | void __init tx4938_time_init(void); | 41 | void __init tx4938_time_init(void); |
42 | void __init tx4938_timer_setup(struct irqaction *irq); | ||
43 | void dump_cp0(char *key); | 42 | void dump_cp0(char *key); |
44 | 43 | ||
45 | void (*__wbflush) (void); | 44 | void (*__wbflush) (void); |
@@ -64,7 +63,6 @@ void __init | |||
64 | plat_mem_setup(void) | 63 | plat_mem_setup(void) |
65 | { | 64 | { |
66 | board_time_init = tx4938_time_init; | 65 | board_time_init = tx4938_time_init; |
67 | board_timer_setup = tx4938_timer_setup; | ||
68 | __wbflush = tx4938_write_buffer_flush; | 66 | __wbflush = tx4938_write_buffer_flush; |
69 | toshiba_rbtx4938_setup(); | 67 | toshiba_rbtx4938_setup(); |
70 | } | 68 | } |
@@ -75,8 +73,7 @@ tx4938_time_init(void) | |||
75 | rbtx4938_time_init(); | 73 | rbtx4938_time_init(); |
76 | } | 74 | } |
77 | 75 | ||
78 | void __init | 76 | void __init plat_timer_setup(struct irqaction *irq) |
79 | tx4938_timer_setup(struct irqaction *irq) | ||
80 | { | 77 | { |
81 | u32 count; | 78 | u32 count; |
82 | u32 c1; | 79 | u32 c1; |