| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2015 ARM Limited |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Vladimir Murzin <vladimir.murzin@arm.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 153 | 149 | ce->clkevt.rating = 200; |
|---|
| 154 | 150 | ce->clkevt.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; |
|---|
| 155 | 151 | ce->clkevt.cpumask = cpu_possible_mask; |
|---|
| 156 | | - ce->clkevt.set_state_shutdown = mps2_timer_shutdown, |
|---|
| 157 | | - ce->clkevt.set_state_periodic = mps2_timer_set_periodic, |
|---|
| 158 | | - ce->clkevt.set_state_oneshot = mps2_timer_shutdown, |
|---|
| 152 | + ce->clkevt.set_state_shutdown = mps2_timer_shutdown; |
|---|
| 153 | + ce->clkevt.set_state_periodic = mps2_timer_set_periodic; |
|---|
| 154 | + ce->clkevt.set_state_oneshot = mps2_timer_shutdown; |
|---|
| 159 | 155 | ce->clkevt.set_next_event = mps2_timer_set_next_event; |
|---|
| 160 | 156 | |
|---|
| 161 | 157 | /* Ensure timer is disabled */ |
|---|