mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
2c70df5b98
commit
54d0a216f4
39 changed files with 40 additions and 97 deletions
|
@ -37,7 +37,7 @@ extern void jazz_machine_restart(char *command);
|
|||
extern void jazz_machine_halt(void);
|
||||
extern void jazz_machine_power_off(void);
|
||||
|
||||
static void __init jazz_time_init(struct irqaction *irq)
|
||||
void __init plat_time_init(struct irqaction *irq)
|
||||
{
|
||||
/* set the clock to 100 Hz */
|
||||
r4030_write_reg32(JAZZ_TIMER_INTERVAL, 9);
|
||||
|
@ -75,7 +75,6 @@ void __init plat_mem_setup(void)
|
|||
for (i = 0; i < ARRAY_SIZE(jazz_io_resources); i++)
|
||||
request_resource(&ioport_resource, jazz_io_resources + i);
|
||||
|
||||
board_timer_setup = jazz_time_init;
|
||||
/* The RTC is outside the port address space */
|
||||
|
||||
_machine_restart = jazz_machine_restart;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue