mirror of https://github.com/thesofproject/sof.git
apl: platform: remove platform_ext_timer as it's already declared
Already declared in the platform timer queue data so reuse. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
3056ce5de4
commit
33baaf2c27
|
@ -169,11 +169,6 @@ static void platform_memory_windows_init(void)
|
|||
| DMWBA_READONLY | DMWBA_ENABLE);
|
||||
}
|
||||
|
||||
static struct timer platform_ext_timer = {
|
||||
.id = TIMER3,
|
||||
.irq = IRQ_EXT_TSTAMP0_LVL2(0),
|
||||
};
|
||||
|
||||
int platform_init(struct reef *reef)
|
||||
{
|
||||
struct dma *dmac;
|
||||
|
@ -188,7 +183,7 @@ int platform_init(struct reef *reef)
|
|||
|
||||
/* init work queues and clocks */
|
||||
trace_point(TRACE_BOOT_PLATFORM_TIMER);
|
||||
platform_timer_start(&platform_ext_timer);
|
||||
platform_timer_start(&platform_generic_queue.timer);
|
||||
|
||||
trace_point(TRACE_BOOT_PLATFORM_CLOCK);
|
||||
init_platform_clocks();
|
||||
|
|
Loading…
Reference in New Issue