diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-06-25 23:57:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-26 00:20:41 -0400 |
commit | bfd63cd24df69120585c22e09fda78723772ee2a (patch) | |
tree | e81b06eb3b5f9b4270d995bdf15758e9895cd62b /include/linux/device.h | |
parent | 6a2c123427ffece4174db0792c3009e7df770d9a (diff) |
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>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index c0a126125325..9d4835a8f8b8 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -80,6 +80,7 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *); | |||
80 | * bus-specific setup | 80 | * bus-specific setup |
81 | * @p: The private data of the driver core, only the driver core can | 81 | * @p: The private data of the driver core, only the driver core can |
82 | * touch this. | 82 | * touch this. |
83 | * @lock_key: Lock class key for use by the lock validator | ||
83 | * | 84 | * |
84 | * A bus is a channel between the processor and one or more devices. For the | 85 | * A bus is a channel between the processor and one or more devices. For the |
85 | * purposes of the device model, all devices are connected via a bus, even if | 86 | * purposes of the device model, all devices are connected via a bus, even if |
@@ -635,6 +636,7 @@ struct acpi_dev_node { | |||
635 | * segment limitations. | 636 | * segment limitations. |
636 | * @dma_pools: Dma pools (if dma'ble device). | 637 | * @dma_pools: Dma pools (if dma'ble device). |
637 | * @dma_mem: Internal for coherent mem override. | 638 | * @dma_mem: Internal for coherent mem override. |
639 | * @cma_area: Contiguous memory area for dma allocations | ||
638 | * @archdata: For arch-specific additions. | 640 | * @archdata: For arch-specific additions. |
639 | * @of_node: Associated device tree node. | 641 | * @of_node: Associated device tree node. |
640 | * @acpi_node: Associated ACPI device node. | 642 | * @acpi_node: Associated ACPI device node. |
@@ -648,6 +650,7 @@ struct acpi_dev_node { | |||
648 | * @release: Callback to free the device after all references have | 650 | * @release: Callback to free the device after all references have |
649 | * gone away. This should be set by the allocator of the | 651 | * gone away. This should be set by the allocator of the |
650 | * device (i.e. the bus driver that discovered the device). | 652 | * device (i.e. the bus driver that discovered the device). |
653 | * @iommu_group: IOMMU group the device belongs to. | ||
651 | * | 654 | * |
652 | * At the lowest level, every device in a Linux system is represented by an | 655 | * At the lowest level, every device in a Linux system is represented by an |
653 | * instance of struct device. The device structure contains the information | 656 | * instance of struct device. The device structure contains the information |