aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/uapi/linux/ptp_clock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/ptp_clock.h b/include/uapi/linux/ptp_clock.h
index 9a0af3511b68..f16301015949 100644
--- a/include/uapi/linux/ptp_clock.h
+++ b/include/uapi/linux/ptp_clock.h
@@ -38,8 +38,8 @@
38/* 38/*
39 * Bits of the ptp_perout_request.flags field: 39 * Bits of the ptp_perout_request.flags field:
40 */ 40 */
41#define PTP_PEROUT_VALID_FLAGS (0) 41#define PTP_PEROUT_ONE_SHOT (1<<0)
42 42#define PTP_PEROUT_VALID_FLAGS (PTP_PEROUT_ONE_SHOT)
43/* 43/*
44 * struct ptp_clock_time - represents a time value 44 * struct ptp_clock_time - represents a time value
45 * 45 *
@@ -77,7 +77,7 @@ struct ptp_perout_request {
77 struct ptp_clock_time start; /* Absolute start time. */ 77 struct ptp_clock_time start; /* Absolute start time. */
78 struct ptp_clock_time period; /* Desired period, zero means disable. */ 78 struct ptp_clock_time period; /* Desired period, zero means disable. */
79 unsigned int index; /* Which channel to configure. */ 79 unsigned int index; /* Which channel to configure. */
80 unsigned int flags; /* Reserved for future use. */ 80 unsigned int flags;
81 unsigned int rsv[4]; /* Reserved for future use. */ 81 unsigned int rsv[4]; /* Reserved for future use. */
82}; 82};
83 83