]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: Fix clock_getres() implementation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2011 20:16:06 +0000 (21:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Dec 2011 10:38:32 +0000 (11:38 +0100)
commit7d2c6258536e01d60aa66317bc6f795e5709410c
tree58e17fb372e78aac7bec64cff201379094c75ff4
parent67530a2597382199135f58c8466cddf5fea4ec77
ptp: Fix clock_getres() implementation

The clock_getres() function must return the resolution in the timespec
argument and return 0 for success.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Cc: stable@kernel.org
Cc: Richard Cochran <richard.cochran@omicron.at>
drivers/ptp/ptp_clock.c