summaryrefslogtreecommitdiffstats
path: root/include/linux/ptp_clock_kernel.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2020-05-11 14:02:15 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-12 12:10:17 -0700
commit2c864c78c2386ada7433268cdfa8cb77cfe31bf3 (patch)
tree2066986f53eb55e49500366bed743c4de6659044 /include/linux/ptp_clock_kernel.h
parent64d950ae0b01eae96eb668b789c6d145c38ac41c (diff)
downloadlinux-2c864c78c2386ada7433268cdfa8cb77cfe31bf3.tar.gz
linux-2c864c78c2386ada7433268cdfa8cb77cfe31bf3.tar.bz2
linux-2c864c78c2386ada7433268cdfa8cb77cfe31bf3.zip
ptp: fix struct member comment for do_aux_work
The do_aux_work callback had documentation in the structure comment which referred to it as "do_work". Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Cc: Richard Cochran <richardcochran@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ptp_clock_kernel.h')
-rw-r--r--include/linux/ptp_clock_kernel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h
index 121a7eda4593..c602670bbffb 100644
--- a/include/linux/ptp_clock_kernel.h
+++ b/include/linux/ptp_clock_kernel.h
@@ -105,10 +105,10 @@ struct ptp_system_timestamp {
* parameter func: the desired function to use.
* parameter chan: the function channel index to use.
*
- * @do_work: Request driver to perform auxiliary (periodic) operations
- * Driver should return delay of the next auxiliary work scheduling
- * time (>=0) or negative value in case further scheduling
- * is not required.
+ * @do_aux_work: Request driver to perform auxiliary (periodic) operations
+ * Driver should return delay of the next auxiliary work
+ * scheduling time (>=0) or negative value in case further
+ * scheduling is not required.
*
* Drivers should embed their ptp_clock_info within a private
* structure, obtaining a reference to it using container_of().