]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
HID: Intel-thc-hid: Intel-thc: Add thc_dma_content into kernel doc
authorEven Xu <even.xu@intel.com>
Wed, 14 May 2025 06:19:38 +0000 (14:19 +0800)
committerJiri Kosina <jkosina@suse.com>
Tue, 10 Jun 2025 19:15:58 +0000 (21:15 +0200)
Convert thc_dma_content structure comments format into kernel doc
format, let it can be included into kernel doc.

Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.h

index ca923ff2bef9960f7393601ab0ecd78c6c2c5bca..f799d1180e5502c1abddde04be665acf29992b6f 100644 (file)
@@ -117,9 +117,10 @@ struct thc_dma_configuration {
        u32 dma_cntrl;
 };
 
-/*
- * THC DMA context
- * Store all THC Channel configures
+/**
+ * struct thc_dma_context - THC DMA context
+ * @thc_dma_configuration: Array of all THC Channel configures
+ * @use_write_interrupts: Indicate TxDMA using interrupt or polling
  */
 struct thc_dma_context {
        struct thc_dma_configuration dma_config[MAX_THC_DMA_CHANNEL];