Skip to content

Commit f097eb3

Browse files
shifty91KAGA-KOKO
authored andcommitted
timekeeping: Fix kerneldoc system_device_crosststamp & al
Make kernel doc comments actually work and fix the syncronized typo. [ tglx: Added the missing /** and fixed up formatting ] Signed-off-by: Kurt Kanzenbach <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent b3a9e3b commit f097eb3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/linux/timekeeping.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ extern bool timekeeping_rtc_skipresume(void);
222222

223223
extern void timekeeping_inject_sleeptime64(const struct timespec64 *delta);
224224

225-
/*
225+
/**
226226
* struct system_time_snapshot - simultaneous raw/real time capture with
227-
* counter value
227+
* counter value
228228
* @cycles: Clocksource counter value to produce the system times
229229
* @real: Realtime system time
230230
* @raw: Monotonic raw system time
@@ -239,9 +239,9 @@ struct system_time_snapshot {
239239
u8 cs_was_changed_seq;
240240
};
241241

242-
/*
242+
/**
243243
* struct system_device_crosststamp - system/device cross-timestamp
244-
* (syncronized capture)
244+
* (synchronized capture)
245245
* @device: Device time
246246
* @sys_realtime: Realtime simultaneous with device time
247247
* @sys_monoraw: Monotonic raw simultaneous with device time
@@ -252,12 +252,12 @@ struct system_device_crosststamp {
252252
ktime_t sys_monoraw;
253253
};
254254

255-
/*
255+
/**
256256
* struct system_counterval_t - system counter value with the pointer to the
257-
* corresponding clocksource
257+
* corresponding clocksource
258258
* @cycles: System counter value
259259
* @cs: Clocksource corresponding to system counter value. Used by
260-
* timekeeping code to verify comparibility of two cycle values
260+
* timekeeping code to verify comparibility of two cycle values
261261
*/
262262
struct system_counterval_t {
263263
u64 cycles;

0 commit comments

Comments
 (0)