aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/alarmtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/alarmtimer.h')
-rw-r--r--include/linux/alarmtimer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/alarmtimer.h b/include/linux/alarmtimer.h
index 17535963b274..c854a8efa863 100644
--- a/include/linux/alarmtimer.h
+++ b/include/linux/alarmtimer.h
@@ -30,7 +30,6 @@ enum alarmtimer_restart {
30 */ 30 */
31struct alarm { 31struct alarm {
32 struct timerqueue_node node; 32 struct timerqueue_node node;
33 ktime_t period;
34 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); 33 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now);
35 enum alarmtimer_type type; 34 enum alarmtimer_type type;
36 bool enabled; 35 bool enabled;
@@ -39,7 +38,7 @@ struct alarm {
39 38
40void alarm_init(struct alarm *alarm, enum alarmtimer_type type, 39void alarm_init(struct alarm *alarm, enum alarmtimer_type type,
41 enum alarmtimer_restart (*function)(struct alarm *, ktime_t)); 40 enum alarmtimer_restart (*function)(struct alarm *, ktime_t));
42void alarm_start(struct alarm *alarm, ktime_t start, ktime_t period); 41void alarm_start(struct alarm *alarm, ktime_t start);
43void alarm_cancel(struct alarm *alarm); 42void alarm_cancel(struct alarm *alarm);
44 43
45u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval); 44u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);