mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
alarmtimer: Fix comments describing structure fields
Updated struct alarm and struct alarm_timer descriptions. Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Pratyush Patel <pratyushpatel.1995@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
0209b93756
commit
af4afb4008
2 changed files with 3 additions and 4 deletions
|
@ -26,10 +26,10 @@ enum alarmtimer_restart {
|
||||||
* struct alarm - Alarm timer structure
|
* struct alarm - Alarm timer structure
|
||||||
* @node: timerqueue node for adding to the event list this value
|
* @node: timerqueue node for adding to the event list this value
|
||||||
* also includes the expiration time.
|
* also includes the expiration time.
|
||||||
* @period: Period for recuring alarms
|
* @timer: hrtimer used to schedule events while running
|
||||||
* @function: Function pointer to be executed when the timer fires.
|
* @function: Function pointer to be executed when the timer fires.
|
||||||
* @type: Alarm type (BOOTTIME/REALTIME)
|
* @type: Alarm type (BOOTTIME/REALTIME).
|
||||||
* @enabled: Flag that represents if the alarm is set to fire or not
|
* @state: Flag that represents if the alarm is set to fire or not.
|
||||||
* @data: Internal data value.
|
* @data: Internal data value.
|
||||||
*/
|
*/
|
||||||
struct alarm {
|
struct alarm {
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
* struct alarm_base - Alarm timer bases
|
* struct alarm_base - Alarm timer bases
|
||||||
* @lock: Lock for syncrhonized access to the base
|
* @lock: Lock for syncrhonized access to the base
|
||||||
* @timerqueue: Timerqueue head managing the list of events
|
* @timerqueue: Timerqueue head managing the list of events
|
||||||
* @timer: hrtimer used to schedule events while running
|
|
||||||
* @gettime: Function to read the time correlating to the base
|
* @gettime: Function to read the time correlating to the base
|
||||||
* @base_clockid: clockid for the base
|
* @base_clockid: clockid for the base
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue