|
@@ -1258,9 +1258,9 @@ static int __init arch_timer_mem_init(struct device_node *np)
|
|
}
|
|
}
|
|
|
|
|
|
if (arch_timer_mem_use_virtual)
|
|
if (arch_timer_mem_use_virtual)
|
|
- irq = irq_of_parse_and_map(best_frame, 1);
|
|
|
|
|
|
+ irq = irq_of_parse_and_map(best_frame, ARCH_TIMER_VIRT_SPI);
|
|
else
|
|
else
|
|
- irq = irq_of_parse_and_map(best_frame, 0);
|
|
|
|
|
|
+ irq = irq_of_parse_and_map(best_frame, ARCH_TIMER_PHYS_SPI);
|
|
|
|
|
|
ret = -EINVAL;
|
|
ret = -EINVAL;
|
|
if (!irq) {
|
|
if (!irq) {
|