Skip to contentSkip to conversation

irqdomain: correct comment for __irq_domain_add

PATCH In review Peng Fan 2 participants 2 messages Sep 21, 2016

Subsystems (2)
lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/1 irqdomain: correct comment for __irq_domain_add

Correct comments from "of_node" to "fwnode" according to function prototype.

Cc Marc Zyngier <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/irqdomain.c +1 -1
index 4752b43..8be2f3c 100644
@@ -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
Signature · 1 line
2.6.6
#1 lore raw
Quoted 16 lines · Peng Fan

Correct comments from "of_node" to "fwnode" according to function prototype.

Cc Marc Zyngier <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/irqdomain.c +0 -0
index 4752b43..8be2f3c 100644

kernel/irq/irqdomain.c EXPORT_SYMBOL_GPL(irq_domain_free_fwnode); · line 86

Quoted 8 lines
kernel/irq/irqdomain.c +1 -1
@@ -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.
Signature · 1 line
Jazz is not dead. It just smells funny...