diff options
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r-- | include/linux/hrtimer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index f57cc7bd7008..93830158348e 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
@@ -45,9 +45,7 @@ struct hrtimer_base; | |||
45 | * @expires: the absolute expiry time in the hrtimers internal | 45 | * @expires: the absolute expiry time in the hrtimers internal |
46 | * representation. The time is related to the clock on | 46 | * representation. The time is related to the clock on |
47 | * which the timer is based. | 47 | * which the timer is based. |
48 | * @state: state of the timer | ||
49 | * @function: timer expiry callback function | 48 | * @function: timer expiry callback function |
50 | * @data: argument for the callback function | ||
51 | * @base: pointer to the timer base (per cpu and per clock) | 49 | * @base: pointer to the timer base (per cpu and per clock) |
52 | * | 50 | * |
53 | * The hrtimer structure must be initialized by init_hrtimer_#CLOCKTYPE() | 51 | * The hrtimer structure must be initialized by init_hrtimer_#CLOCKTYPE() |
@@ -55,8 +53,7 @@ struct hrtimer_base; | |||
55 | struct hrtimer { | 53 | struct hrtimer { |
56 | struct rb_node node; | 54 | struct rb_node node; |
57 | ktime_t expires; | 55 | ktime_t expires; |
58 | int (*function)(void *); | 56 | int (*function)(struct hrtimer *); |
59 | void *data; | ||
60 | struct hrtimer_base *base; | 57 | struct hrtimer_base *base; |
61 | }; | 58 | }; |
62 | 59 | ||