summaryrefslogtreecommitdiffstats
path: root/drivers/char/mmtimer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-02 11:45:23 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-02 15:28:15 +0100
commit4359ac0ace1a2a267927390ad27f781a2f8e0ab8 (patch)
tree01a77aa7afece2932d7838dffdc1a0aa0e8b6aac /drivers/char/mmtimer.c
parentposix-timers: Convert clock_gettime() to clockid_to_kclock() (diff)
downloadlinux-4359ac0ace1a2a267927390ad27f781a2f8e0ab8.tar.xz
linux-4359ac0ace1a2a267927390ad27f781a2f8e0ab8.zip
posix-timers: Make clock_getres and clock_get mandatory
Richard said: "I would think that we can require k_clocks to provide the read function. This could be checked and enforced in register_posix_clock()." Add checks for clock_getres and clock_get in the register function. Suggested-by: Richard Cochran <richardcochran@gmail.com> Cc: John Stultz <johnstul@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/char/mmtimer.c')
0 files changed, 0 insertions, 0 deletions