[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
This commit is contained in:
@@ -566,14 +566,13 @@ asmlinkage void ll_local_timer_interrupt(int irq, struct pt_regs *regs)
|
||||
* 2) setup xtime based on rtc_mips_get_time().
|
||||
* 3) choose a appropriate gettimeoffset routine.
|
||||
* 4) calculate a couple of cached variables for later usage
|
||||
* 5) board_timer_setup() -
|
||||
* 5) plat_timer_setup() -
|
||||
* a) (optional) over-write any choices made above by time_init().
|
||||
* b) machine specific code should setup the timer irqaction.
|
||||
* c) enable the timer interrupt
|
||||
*/
|
||||
|
||||
void (*board_time_init)(void);
|
||||
void (*board_timer_setup)(struct irqaction *irq);
|
||||
|
||||
unsigned int mips_hpt_frequency;
|
||||
|
||||
@@ -718,7 +717,7 @@ void __init time_init(void)
|
||||
* to be NULL function so that we are sure the high-level code
|
||||
* is not invoked accidentally.
|
||||
*/
|
||||
board_timer_setup(&timer_irqaction);
|
||||
plat_timer_setup(&timer_irqaction);
|
||||
}
|
||||
|
||||
#define FEBRUARY 2
|
||||
|
Reference in New Issue
Block a user