[PATCH] irqdomain: correct comment for __irq_domain_add

2016-09-21 Thread Peng Fan
Correct comments from "of_node" to "fwnode" according
to function prototype.

Signed-off-by: Peng Fan 
Cc: Marc Zyngier 
Cc: Thomas Gleixner 
---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 4752b43..8be2f3c 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -80,7 +80,7 @@ EXPORT_SYMBOL_GPL(irq_domain_free_fwnode);
 
 /**
  * __irq_domain_add() - Allocate a new irq_domain data structure
- * @of_node: optional device-tree node of the interrupt controller
+ * @fwnode: optional FW node of the interrupt controller
  * @size: Size of linear map; 0 for radix mapping only
  * @hwirq_max: Maximum number of interrupts supported by controller
  * @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
-- 
2.6.6



Re: [PATCH] irqdomain: correct comment for __irq_domain_add

2016-09-21 Thread Marc Zyngier
On 21/09/16 06:43, Peng Fan wrote:
> Correct comments from "of_node" to "fwnode" according
> to function prototype.
> 
> Signed-off-by: Peng Fan 
> Cc: Marc Zyngier 
> Cc: Thomas Gleixner 
> ---
>  kernel/irq/irqdomain.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
> index 4752b43..8be2f3c 100644
> --- a/kernel/irq/irqdomain.c
> +++ b/kernel/irq/irqdomain.c
> @@ -80,7 +80,7 @@ EXPORT_SYMBOL_GPL(irq_domain_free_fwnode);
>  
>  /**
>   * __irq_domain_add() - Allocate a new irq_domain data structure
> - * @of_node: optional device-tree node of the interrupt controller
> + * @fwnode: optional FW node of the interrupt controller
>   * @size: Size of linear map; 0 for radix mapping only
>   * @hwirq_max: Maximum number of interrupts supported by controller
>   * @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
> 

We already have a fix for this in -next (see 545d5d6).

Thanks,

M.
-- 
Jazz is not dead. It just smells funny...