Commit ebb92d58 authored by Xiongfeng Wang's avatar Xiongfeng Wang Committed by Rafael J. Wysocki

ACPI: irq: Fix some kernel-doc issues

The following commit change the second parameter of acpi_set_irq_model()
but forgot to update the function description. Let's fix it.

  commit 7327b16f ("APCI: irq: Add support for multiple GSI domains")

Also add description of parameter 'gsi' for
acpi_get_irq_source_fwhandle() to avoid the following build W=1 warning.

  drivers/acpi/irq.c:108: warning: Function parameter or member 'gsi' not described in 'acpi_get_irq_source_fwhandle'

Fixes: 7327b16f ("APCI: irq: Add support for multiple GSI domains")
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent f0c4d9fc
...@@ -94,6 +94,7 @@ EXPORT_SYMBOL_GPL(acpi_unregister_gsi); ...@@ -94,6 +94,7 @@ EXPORT_SYMBOL_GPL(acpi_unregister_gsi);
/** /**
* acpi_get_irq_source_fwhandle() - Retrieve fwhandle from IRQ resource source. * acpi_get_irq_source_fwhandle() - Retrieve fwhandle from IRQ resource source.
* @source: acpi_resource_source to use for the lookup. * @source: acpi_resource_source to use for the lookup.
* @gsi: GSI IRQ number
* *
* Description: * Description:
* Retrieve the fwhandle of the device referenced by the given IRQ resource * Retrieve the fwhandle of the device referenced by the given IRQ resource
...@@ -297,8 +298,8 @@ EXPORT_SYMBOL_GPL(acpi_irq_get); ...@@ -297,8 +298,8 @@ EXPORT_SYMBOL_GPL(acpi_irq_get);
/** /**
* acpi_set_irq_model - Setup the GSI irqdomain information * acpi_set_irq_model - Setup the GSI irqdomain information
* @model: the value assigned to acpi_irq_model * @model: the value assigned to acpi_irq_model
* @fwnode: the irq_domain identifier for mapping and looking up * @fn: a dispatcher function that will return the domain fwnode
* GSI interrupts * for a given GSI
*/ */
void __init acpi_set_irq_model(enum acpi_irq_model_id model, void __init acpi_set_irq_model(enum acpi_irq_model_id model,
struct fwnode_handle *(*fn)(u32)) struct fwnode_handle *(*fn)(u32))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment