Skip to contentSkip to conversation

Correct documentation for struct segdist_code

PATCH New Abhishek Tamboli 1 participant 1 message May 24, 2024 Serial low-power inter-chip media bus (SLIMbus)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correct documentation for struct segdist_code

Correct the documentation for struct segdist_code by removing the incorrect reference to segdist_codes and add a note to describe the array.

---
The documentation for struct segdist_code contained an incorrect reference to segdist_codes as a member. This patch removes that incorrect reference and adds a note to describe the array segdist_codes[] containing all possible Segment Distribution codes.

 drivers/slimbus/stream.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/slimbus/stream.c +2 -1
index 1d6b38657917..d9eaa8989d2e 100644
@@ -18,7 +18,8 @@
  *		and the first slot of the next  consecutive Segment.
  * @segdist_code: Segment Distribution Code SD[11:0]
  * @seg_offset_mask: Segment offset mask in SD[11:0]
- * @segdist_codes: List of all possible Segmet Distribution codes.
+ *
+ * Note: segdist_codes: List of all possible Segmet Distribution codes.
  */
 static const struct segdist_code {
 	int ratem;

base-commit: f3d61438b613b87afb63118bea6fb18c50ba7a6b
prerequisite-patch-id: f30868a7fdcfaceb6bab2b6f41402a9aeae858cb

Signature · 1 line
2.25.1