diff options
Diffstat (limited to 'include/linux/alarmtimer.h')
-rw-r--r-- | include/linux/alarmtimer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/alarmtimer.h b/include/linux/alarmtimer.h index 96c5c249b086..f122c9fbf8c7 100644 --- a/include/linux/alarmtimer.h +++ b/include/linux/alarmtimer.h | |||
@@ -35,6 +35,7 @@ enum alarmtimer_restart { | |||
35 | */ | 35 | */ |
36 | struct alarm { | 36 | struct alarm { |
37 | struct timerqueue_node node; | 37 | struct timerqueue_node node; |
38 | struct hrtimer timer; | ||
38 | enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); | 39 | enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); |
39 | enum alarmtimer_type type; | 40 | enum alarmtimer_type type; |
40 | int state; | 41 | int state; |
@@ -43,7 +44,7 @@ struct alarm { | |||
43 | 44 | ||
44 | void alarm_init(struct alarm *alarm, enum alarmtimer_type type, | 45 | void alarm_init(struct alarm *alarm, enum alarmtimer_type type, |
45 | enum alarmtimer_restart (*function)(struct alarm *, ktime_t)); | 46 | enum alarmtimer_restart (*function)(struct alarm *, ktime_t)); |
46 | void alarm_start(struct alarm *alarm, ktime_t start); | 47 | int alarm_start(struct alarm *alarm, ktime_t start); |
47 | int alarm_try_to_cancel(struct alarm *alarm); | 48 | int alarm_try_to_cancel(struct alarm *alarm); |
48 | int alarm_cancel(struct alarm *alarm); | 49 | int alarm_cancel(struct alarm *alarm); |
49 | 50 | ||