diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 10:45:23 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-02 14:28:15 (GMT) |
commit | 4359ac0ace1a2a267927390ad27f781a2f8e0ab8 (patch) | |
tree | 01a77aa7afece2932d7838dffdc1a0aa0e8b6aac /drivers/char | |
parent | 42285777631aa0654fbb6442057b3e176445c6c5 (diff) | |
download | linux-fsl-qoriq-4359ac0ace1a2a267927390ad27f781a2f8e0ab8.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions