Skip to content

Commit bfd63cd

Browse files
Michael Opdenackergregkh
authored andcommitted
driver core: device.h: fix doc compilation warnings
This patch fixes the below 3 warnings running "make htmldocs", by adding descriptions for recently added structure members: DOCPROC Documentation/DocBook/device-drivers.xml Warning(/work/git.free-electrons.com/users/michael-opdenacker/linux//include/linux/device.h:116): No description found for parameter 'lock_key' Warning(/work/git.free-electrons.com/users/michael-opdenacker/linux//include/linux/device.h:723): No description found for parameter 'cma_area' Warning(/work/git.free-electrons.com/users/michael-opdenacker/linux//include/linux/device.h:723): No description found for parameter 'iommu_group' Don't hesitate to propose better descriptions! Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6a2c123 commit bfd63cd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎include/linux/device.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
8080
* bus-specific setup
8181
* @p: The private data of the driver core, only the driver core can
8282
* touch this.
83+
* @lock_key: Lock class key for use by the lock validator
8384
*
8485
* A bus is a channel between the processor and one or more devices. For the
8586
* purposes of the device model, all devices are connected via a bus, even if
@@ -635,6 +636,7 @@ struct acpi_dev_node {
635636
* segment limitations.
636637
* @dma_pools: Dma pools (if dma'ble device).
637638
* @dma_mem: Internal for coherent mem override.
639+
* @cma_area: Contiguous memory area for dma allocations
638640
* @archdata: For arch-specific additions.
639641
* @of_node: Associated device tree node.
640642
* @acpi_node: Associated ACPI device node.
@@ -648,6 +650,7 @@ struct acpi_dev_node {
648650
* @release: Callback to free the device after all references have
649651
* gone away. This should be set by the allocator of the
650652
* device (i.e. the bus driver that discovered the device).
653+
* @iommu_group: IOMMU group the device belongs to.
651654
*
652655
* At the lowest level, every device in a Linux system is represented by an
653656
* instance of struct device. The device structure contains the information

0 commit comments

Comments
 (0)