summaryrefslogtreecommitdiff
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-08-24 16:09:10 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 16:38:27 +0200
commit6a7a81761bee2a6694c0a5fb1a16b263c96241c1 (patch)
treebeab90629ef5eace4f2c663f2f83e4abca609396 /include/linux/device.h
parent00ee84159020728cbdbfc569b42c036ef20c6e55 (diff)
driver core: Document struct device:dma_ops
Commit 5657933dbb6e (treewide: Move dma_ops from struct dev_archdata into struct device) added the dma_ops field to struct device, but did not update the kerneldoc comment, yielding this warning: ./include/linux/device.h:969: warning: No description found for parameter 'dma_ops' Add a description and bring a little peace to the world. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 5db26b9c0fcc..d5bcc5f109eb 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -847,6 +847,7 @@ struct dev_links_info {
* @msi_list: Hosts MSI descriptors
* @msi_domain: The generic MSI domain this device is using.
* @numa_node: NUMA node this device is close to.
+ * @dma_ops: DMA mapping operations for this device.
* @dma_mask: Dma mask (if dma'ble device).
* @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all
* hardware supports 64-bit addresses for consistent allocations