Skip to contentSkip to conversation

ARM: Add kernel-doc comments to ssp_read_word()

PATCH New Yang Li 1 participant 1 message Apr 7, 2024

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 ARM: Add kernel-doc comments to ssp_read_word()

This commit adds kernel-doc style comments with complete parameter descriptions for the function ssp_read_word().

---
 arch/arm/mach-sa1100/ssp.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-sa1100/ssp.c +2 -0
index 613fd767afcf..3c97e372bdc4 100644
@@ -73,6 +73,8 @@ int ssp_write_word(u16 data)
 /**
  * ssp_read_word - read a word from the SSP port
  *
+ * @data: Pointer to the 16-bit buffer where the read data should be stored.
+ *
  * Wait for a data word in the SSP receive FIFO, and return the
  * received data.  Data is LSB justified.
  *
Signature · 7 lines
2.20.1.7.g153144c


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel